ajgenesisnode-entity
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -26,12 +26,12 @@ var path = require('path'), | ||
var model = require(path.resolve(filename)); | ||
// quick hack | ||
model.entities = [ model.entities[0] ]; | ||
model.entities.forEach(function (entity) { | ||
if (entity.name != entityname) | ||
return; | ||
var entity = model.entities[0]; | ||
if (!entity.properties) | ||
entity.properties = []; | ||
if (!entity.properties) | ||
entity.properties = []; | ||
entity.properties.push(property); | ||
}); | ||
entity.properties.push(property); | ||
@@ -38,0 +38,0 @@ var text = JSON.stringify(model, null, 4); |
{ "name": "ajgenesisnode-entity" | ||
, "description": "AjGenesis for Node, Entity tasks and templates" | ||
, "keywords": [ "codegeneration", "nodejs", "ajgenesis" ] | ||
, "version": "0.0.3" | ||
, "version": "0.0.4" | ||
, "author": "Angel 'Java' Lopez <webmaster@ajlopez.com> (http://www.ajlopez.com)" | ||
@@ -6,0 +6,0 @@ , "repository": { "type": "git", "url": "git://github.com/ajlopez/AjGenesisNode-Entity.git" } |
@@ -40,2 +40,3 @@ # AjGenesisNode Entity | ||
- 0.0.3: Published. add and addproperty process parameters. | ||
- 0.0.4: Published. Fixing add property bug, using a hack. | ||
@@ -42,0 +43,0 @@ ## Contribution |
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
16711
50
345