From 0d920e4e444adeb2ed75ef8e8841c6e7b14b7a2e Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sun, 16 Nov 2014 22:40:34 -0200 Subject: [PATCH] code review --- src/js/storage.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/js/storage.js b/src/js/storage.js index b9ebe7ba5..0c5c3efac 100644 --- a/src/js/storage.js +++ b/src/js/storage.js @@ -212,14 +212,11 @@ } catch (e) { locations = {}; } - var entry; for ( location in locations ) { if ( locations.hasOwnProperty(location) === false ) { continue; } - entry = locations[location]; - location = 'assets/thirdparties/' + location; - availableLists[location] = entry; + availableLists['assets/thirdparties/' + location] = locations[location]; } // Now get user's selection of lists