From b5374dbab7027febb0a89058f2a27799bb856709 Mon Sep 17 00:00:00 2001 From: Ahmed Fouzan Date: Fri, 9 Aug 2019 10:56:47 +0530 Subject: [PATCH] Replaced let with var --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 71e013b..f5a78f6 100644 --- a/src/index.js +++ b/src/index.js @@ -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); } @@ -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);