Skip to content

Commit

Permalink
Extracted out requirejs support out of the main library file into a s…
Browse files Browse the repository at this point in the history
…eparate one
  • Loading branch information
mike-schultz committed Sep 18, 2015
1 parent 2c23d78 commit ff716ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require('./client/zingchart.min.js');
zingchart.MODULESDIR = "https://cdn.zingchart.com/modules/";
module.exports = zingchart;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "zingchart",
"version": "2.1.4",
"description": "A npm package for easy downloading of ZingChart.",
"main" : "client/zingchart.min.js",
"main" : "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down

0 comments on commit ff716ba

Please sign in to comment.