Skip to content

Commit

Permalink
TypeError: viewUtilities is not a function #6
Browse files Browse the repository at this point in the history
  • Loading branch information
metincansiper committed Sep 22, 2016
1 parent 55b9e10 commit 036caf4
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 25 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules
.idea
.idea
/nbproject/private/
/nbproject/*
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ Shows hidden eles.

## Dependencies

* Cytoscape.js ^1.7.3
* Cytoscape.js ^2.7.0
* jQuery ^1.7.0 || ^2.0.0 || ^3.0.0
* cytoscape-undo-redo.js ^1.0.8 (optional)


Expand All @@ -109,9 +110,10 @@ Download the library:
CommonJS:
```js
var cytoscape = require('cytoscape');
var view-utilities = require('cytoscape-view-utilities');
var jquery = require('jquery');
var viewUtilities = require('cytoscape-view-utilities');

view-utilities( cytoscape ); // register extension
viewUtilities( cytoscape, jquery ); // register extension
```

AMD:
Expand Down
Loading

0 comments on commit 036caf4

Please sign in to comment.