Skip to content

Commit

Permalink
Replaced let with var and rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanbalci committed Aug 28, 2019
1 parent b5374db commit 79d1a91
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
21 changes: 11 additions & 10 deletions cytoscape-expand-collapse.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/cueUtilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = function (params, cy, api) {
var nodeWithRenderedCue, preventDrawing = false;

const getData = function(){
let scratch = cy.scratch('_cyExpandCollapse');
var scratch = cy.scratch('_cyExpandCollapse');
return scratch && scratch.cueUtilities;
};

Expand Down Expand Up @@ -68,7 +68,7 @@ module.exports = function (params, cy, api) {

sizeCanvas();

let data = {};
var data = {};

// if there are events field in data unbind them here
// to prevent binding the same event multiple times
Expand Down

0 comments on commit 79d1a91

Please sign in to comment.