jeefo_core
Advanced tools
Comparing version 0.0.10 to 0.0.11
{ | ||
"name": "jeefo_core", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"homepage": "https://github.com/je3f0o/jeefo_core", | ||
@@ -5,0 +5,0 @@ "copyright": "2017", |
/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. | ||
* File Name : core.js | ||
* Created at : 2017-04-08 | ||
* Updated at : 2017-05-07 | ||
* Updated at : 2017-05-10 | ||
* Author : jeefo | ||
@@ -98,2 +98,15 @@ * Purpose : | ||
} catch (e) {} | ||
}, | ||
JeefoObject = function () {}; | ||
JeefoObject.prototype = { | ||
Array : Array, | ||
JeefoObject : JeefoObject, | ||
$new : function () { | ||
return new this.JeefoObject(); | ||
}, | ||
$copy : function () { | ||
return this.assign(new this.JeefoObject(), this); | ||
}, | ||
}; | ||
@@ -138,2 +151,16 @@ | ||
namespace("JeefoObject", ["object.assign"], function (assign) { | ||
if (JeefoObject.create) { | ||
JeefoObject.create = function (object) { | ||
return assign(new JeefoObject(), object); | ||
}; | ||
} | ||
if (! JeefoObject.prototype.assign) { | ||
JeefoObject.prototype.assign = assign; | ||
} | ||
return JeefoObject; | ||
}). | ||
namespace("transform.dash_case", function () { | ||
@@ -140,0 +167,0 @@ return dash_case; |
67265
1371