From e85156864f57b23f22e92ef61ea127d125dd80d1 Mon Sep 17 00:00:00 2001 From: "Jason J. Gullickson" Date: Fri, 6 Feb 2015 09:33:26 -0600 Subject: [PATCH] cleanup --- jsfs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsfs.js b/jsfs.js index 21accac..a3ab98b 100644 --- a/jsfs.js +++ b/jsfs.js @@ -30,7 +30,7 @@ var log = { }; function save_superblock(){ - for(location in config.STORAGE_LOCATIONS){ + for(var location in config.STORAGE_LOCATIONS){ if(config.STORAGE_LOCATIONS.hasOwnProperty(location)){ var storage_path = config.STORAGE_LOCATIONS[location].path; @@ -49,7 +49,7 @@ function save_superblock(){ } function load_superblock(){ - for(location in config.STORAGE_LOCATIONS){ + for(var location in config.STORAGE_LOCATIONS){ if(config.STORAGE_LOCATIONS.hasOwnProperty(location)){ var storage_path = config.STORAGE_LOCATIONS[location].path; try{