Skip to content

Commit

Permalink
Replaced let with var
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedfouzan authored Aug 9, 2019
1 parent 0986a7f commit b5374db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

api.extendOptions = function(opts) {
var options = getScratch(cy, 'options');
let newOptions = extendOptions( options, opts );
var newOptions = extendOptions( options, opts );
handleNewOptions(newOptions);
setScratch(cy, 'options', newOptions);
}
Expand All @@ -66,7 +66,7 @@
opts[ name ] = value;

var options = getScratch(cy, 'options');
let newOptions = extendOptions( options, opts );
var newOptions = extendOptions( options, opts );

handleNewOptions(newOptions);
setScratch(cy, 'options', newOptions);
Expand Down

0 comments on commit b5374db

Please sign in to comment.