diff --git a/src/app.js b/src/app.js
index decf1ae7cc..77437bc4b3 100644
--- a/src/app.js
+++ b/src/app.js
@@ -27,7 +27,6 @@ var run = function () {
var content = files[f].content;
if (key in window.localStorage && window.localStorage[key] !== content) {
var count = '';
- var otherKey = key + count;
while ((key + count) in window.localStorage) count = count - 1;
window.localStorage[key + count] = window.localStorage[key];
}
@@ -138,7 +137,7 @@ var run = function () {
return;
}
var files = editor.packageFiles();
- var iframe = $('', {src: target, style: 'display:none;', load: function () {
+ $('', {src: target, style: 'display:none;', load: function () {
this.contentWindow.postMessage(['loadFiles', files], '*');
}}).appendTo('body');
});
@@ -271,9 +270,9 @@ var run = function () {
return itemsWidth;
}
- function widthOfHidden () {
- return ($filesWrapper.outerWidth() - widthOfList() - getLeftPosi());
- }
+ // function widthOfHidden () {
+ // return ($filesWrapper.outerWidth() - widthOfList() - getLeftPosi());
+ // }
function widthOfVisible () {
return $filesWrapper.outerWidth();
diff --git a/src/app/storage-handler.js b/src/app/storage-handler.js
index 639706dd78..805bc4936b 100644
--- a/src/app/storage-handler.js
+++ b/src/app/storage-handler.js
@@ -11,7 +11,6 @@ function StorageHandler (updateFiles) {
var obj = {};
var done = false;
var count = 0;
- var dont = 0;
function check (key) {
chrome.storage.sync.get(key, function (resp) {