You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

artefactjs-java-enum-obj-pattern

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

artefactjs-java-enum-obj-pattern - npm Package Compare versions

Comparing version

to
0.0.6

templates/Constructor.old.java.tmpl

2

package.json
{
"name": "artefactjs-java-enum-obj-pattern",
"version": "0.0.5",
"version": "0.0.6",
"description": "EXÜERIMENTAL: artefactjs extension to create EnumObjectPattern artefacts",

@@ -5,0 +5,0 @@ "main": "artefact.js",

exports.transform = function( model, options ) {
var params = model.list( '.model > .fields > *',
"final <%= text( '#type' ) %> <%= text( '#name' ) %>", ", ");
model.put( '#constructorParams', params);
var tmpl = "file://" + __dirname +"/../templates/Constructor.java.tmpl";

@@ -9,2 +13,2 @@ var constructor = model.render(tmpl);

return model;
};
};

@@ -29,4 +29,2 @@ /**

// var x = json.list('.values > *');
var rendered = json.render(tmpl);

@@ -33,0 +31,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet