ezobjects
Advanced tools
Comparing version 5.2.2 to 5.2.3
const docket = require(`docket-parser`); | ||
docket.title(`EZ Objects v5.2.2`); | ||
docket.title(`EZ Objects v5.2.3`); | ||
docket.linkClass(`text-success`); | ||
docket.parseFiles([`index.js`]); | ||
docket.generateDocs(`docs`); |
@@ -88,3 +88,3 @@ /** | ||
enumerable: false, | ||
value: function (x) { const newArr = Array.from(this); newArr.push(x); this.splice(0, this.length); this.push(setIntArrayTransform(newArr, property)); return this.length; } | ||
value: function (x) { const newArr = Array.from(this); newArr.push(x); this.splice(0, this.length); this.push(setArrayTransform(newArr, property)); return this.length; } | ||
}); | ||
@@ -94,3 +94,3 @@ | ||
enumerable: false, | ||
value: function (x) { const newArr = Array.from(this); newArr.unshift(x); this.splice(0, this.length); this.push(setIntArrayTransform(newArr, property)); return this.length; } | ||
value: function (x) { const newArr = Array.from(this); newArr.unshift(x); this.splice(0, this.length); this.push(setArrayTransform(newArr, property)); return this.length; } | ||
}); | ||
@@ -100,3 +100,3 @@ | ||
enumerable: false, | ||
value: function (x, y, z) { const newArr = Array.from(this); newArr.fill(x, y, z); this.splice(0, this.length); this.push(setIntArrayTransform(newArr, property)); return this.length; } | ||
value: function (x, y, z) { const newArr = Array.from(this); newArr.fill(x, y, z); this.splice(0, this.length); this.push(setArrayTransform(newArr, property)); return this.length; } | ||
}); | ||
@@ -103,0 +103,0 @@ |
{ | ||
"name": "ezobjects", | ||
"version": "5.2.2", | ||
"version": "5.2.3", | ||
"description": "Easy Auto-Generated Strictly-Typed JavaScript Class Objects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
# EZ Objects v5.2.2 | ||
# EZ Objects v5.2.3 | ||
@@ -171,7 +171,7 @@ EZ Objects is a Node.js module (that can also be usefully browserify'd) that aims to save you lots of time | ||
* **Parameter:** data - `PlainObject` - (optional) | ||
* **Description:** Create a new MyObject object and initialize it using either defaults or any provided key/value pairs in the plain object `data`. Keys can either be equal to the name of a property, or they can be have an underscore before the name of a property, as would be the case if you were to JSON.stringify() and then JSON.parse() an EZ Object. This allows for easy transferability in cases where JSON is used as the transfer medium. | ||
* **Description:** Create a new MyObject object and initialize it using either defaults or any provided key/value pairs in the plain object `data`. Keys can either be equal to the name of a property, or they can have an underscore before the name of a property, as would be the case if you were to JSON.stringify() and then JSON.parse() an EZ Object. This allows for easy transferability in cases where JSON is used as the transfer medium. | ||
### new MyObject([data]) | ||
* **Parameter:** data - `string` - (optional) | ||
* **Description:** Create a new MyObject object and initialize it using either defaults or any provided key/value pairs in the JSON encoded string `data`. Keys can either be equal to the name of a property, or they can be have an underscore before the name of a property, as would be the case if you were to JSON.stringify() an EZ Object. This allows for easy transferability in cases where JSON is used as the transfer medium. | ||
* **Description:** Create a new MyObject object and initialize it using either defaults or any provided key/value pairs in the JSON encoded string `data`. Keys can either be equal to the name of a property, or they can have an underscore before the name of a property, as would be the case if you were to JSON.stringify() an EZ Object. This allows for easy transferability in cases where JSON is used as the transfer medium. | ||
@@ -200,3 +200,3 @@ ### MyObject.init([data]) | ||
### ezobjects.createClass(objectConfig) | ||
* **Description:** A function that creates an ES6 class corresponding to the configuration outlined in `objectConfig`, with constructor, initializer, getters, setters. | ||
* **Description:** A function that creates an ES6 class corresponding to the configuration outlined in `objectConfig`, with constructor, initializer, getters, and setters. | ||
@@ -203,0 +203,0 @@ ### ezobjects.instanceOf(obj, constructorName) |
Sorry, the diff of this file is not supported yet
338706