Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nodejs/tests/browserify/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var Jsonix = require('Jsonix').Jsonix;
var Jsonix = require('jsonix').Jsonix;
var PO = require('./PO').PO;

// Utility function
Expand Down Expand Up @@ -59,4 +59,4 @@ var setValues = function() {

});
};
setValues();
setValues();
35 changes: 18 additions & 17 deletions nodejs/tests/browserify/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{
"name": "jsonix-tests-browserify",
"description": "Jsonix Tests Browserify.",
"engines": [
"node >= 0.8.0"
],
"main": "main.js",
"dependencies": {
"jsonix": "2.x.x",
"jsonix-schema-compiler": "2.x.x"
},
"devDependencies" : {
"nodeunit" : "~0.x.x"
},
"scripts": {
"prepublish" : "java -jar node_modules/jsonix-schema-compiler/lib/jsonix-schema-compiler-full.jar purchaseorder.xsd -b bindings.xjb"
}
}
"name": "jsonix-tests-browserify",
"description": "Jsonix Tests Browserify.",
"engines": [
"node >= 0.8.0"
],
"main": "main.js",
"dependencies": {
"jsonix": "2.x.x",
"jsonix-schema-compiler": "2.x.x"
},
"devDependencies": {
"browserify": "^14.4.0",
"nodeunit": "~0.x.x"
},
"scripts": {
"prepublish": "java -jar node_modules/jsonix-schema-compiler/lib/jsonix-schema-compiler-full.jar purchaseorder.xsd -b bindings.xjb"
}
}
4 changes: 2 additions & 2 deletions nodejs/tests/browserify/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<goal>exec</goal>
</goals>
<configuration>
<executable>browserify</executable>
<executable>node_modules/.bin/browserify</executable>
<arguments>
<argument>main.js</argument>
<argument>-o</argument>
Expand All @@ -45,4 +45,4 @@
</plugin>
</plugins>
</build>
</project>
</project>