Skip to content

Commit aae8357

Browse files
committed
fix the module bug
1 parent fee26e0 commit aae8357

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

build/jsgraphs.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "js-graph-algorithms",
3-
"version": "1.0.9",
3+
"version": "1.0.10",
44
"description": "Package implements data structures and algorithms for processing various types of graphs",
55
"author": "Xianshun Chen",
66
"contributors": [

src/jsgraphs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,6 +1117,7 @@ var jsgraphs = jsgraphs || {};
11171117
jss.FordFulkerson = FordFulkerson;
11181118
})(jsgraphs);
11191119

1120+
var module = module || {};
11201121
if(module) {
11211122
module.exports = jsgraphs;
11221123
}

0 commit comments

Comments
 (0)