ezobjects
Advanced tools
Comparing version 2.10.4 to 2.10.5
const docket = require(`docket-parser`); | ||
docket.title(`EZ Objects v2.10.4`); | ||
docket.title(`EZ Objects v2.10.5`); | ||
docket.linkClass(`text-success`); | ||
docket.parseFiles([`index.js`, `mysql-connection.js`]); | ||
docket.generateDocs(`docs`); |
@@ -236,2 +236,6 @@ /** Require external modules */ | ||
module.exports.createObject = (obj) => { | ||
/** Add properties array if one wasn't set */ | ||
if ( typeof obj.properties != 'Array' ) | ||
obj.properties = []; | ||
/** Create default transform function that doesn't change the input */ | ||
@@ -253,3 +257,3 @@ const defaultTransform = x => x; | ||
super(data); | ||
this.init(data); | ||
@@ -256,0 +260,0 @@ } |
{ | ||
"name": "ezobjects", | ||
"version": "2.10.4", | ||
"version": "2.10.5", | ||
"description": "Easy dynamic object generation with optional MySQL table linking", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
# EZ Objects v2.10.4 | ||
# EZ Objects v2.10.5 | ||
@@ -3,0 +3,0 @@ EZ Objects is a Node.js module (that can also be usefully browserify'd) that aims to save you lots of time |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
391840
2487