Skip to content

Commit

Permalink
There is no reason to use jQuery for demos
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkfranz committed Feb 22, 2017
1 parent 5e29c88 commit 6357ccd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions demo-compound.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
});
</script>

<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script src="http://cytoscape.github.io/cytoscape.js/api/cytoscape.js-latest/cytoscape.min.js"></script>

<!-- for testing with local version of cytoscape.js -->
Expand Down Expand Up @@ -46,7 +45,7 @@
</style>

<script>
$(function(){
document.addEventListener('DOMContentLoaded', function(){

var cy = window.cy = cytoscape({
container: document.getElementById('cy'),
Expand Down
3 changes: 1 addition & 2 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
});
</script>

<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script src="http://cytoscape.github.io/cytoscape.js/api/cytoscape.js-latest/cytoscape.min.js"></script>

<!-- for testing with local version of cytoscape.js -->
Expand Down Expand Up @@ -46,7 +45,7 @@
</style>

<script>
$(function(){
document.addEventListener('DOMContentLoaded',function(){

var cy = window.cy = cytoscape({
container: document.getElementById('cy'),
Expand Down

0 comments on commit 6357ccd

Please sign in to comment.