Skip to content

Commit

Permalink
Move dependecies on optional (#2901)
Browse files Browse the repository at this point in the history
move dependencies on optionals so users that do not want to install node dependencies can still install fabric.
  • Loading branch information
asturur committed Apr 23, 2016
1 parent 32b963b commit 81faf42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion HEADER.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*! Fabric.js Copyright 2008-2015, Printio (Juriy Zaytsev, Maxim Chernyak) */

var fabric = fabric || { version: "1.6.0-rc.1" };
var fabric = fabric || { version: "1.6.0" };
if (typeof exports !== 'undefined') {
exports.fabric = fabric;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"export_tests_to_site": "cp test/unit/*.js ../fabricjs.com/test/unit",
"all": "npm run build && npm run test && npm run lint && npm run lint_tests && npm run export_dist_to_site && npm run export_tests_to_site"
},
"dependencies": {
"optionalDependencies": {
"canvas": "1.3.x",
"jsdom": "3.x.x",
"xmldom": "0.1.x"
Expand Down

0 comments on commit 81faf42

Please sign in to comment.