Commit 6a9e874f authored by Alex Beregszaszi's avatar Alex Beregszaszi

Standard: remove unused variables

parent d59a2970
...@@ -27,7 +27,6 @@ var run = function () { ...@@ -27,7 +27,6 @@ var run = function () {
var content = files[f].content; var content = files[f].content;
if (key in window.localStorage && window.localStorage[key] !== content) { if (key in window.localStorage && window.localStorage[key] !== content) {
var count = ''; var count = '';
var otherKey = key + count;
while ((key + count) in window.localStorage) count = count - 1; while ((key + count) in window.localStorage) count = count - 1;
window.localStorage[key + count] = window.localStorage[key]; window.localStorage[key + count] = window.localStorage[key];
} }
...@@ -138,7 +137,7 @@ var run = function () { ...@@ -138,7 +137,7 @@ var run = function () {
return; return;
} }
var files = editor.packageFiles(); var files = editor.packageFiles();
var iframe = $('<iframe/>', {src: target, style: 'display:none;', load: function () { $('<iframe/>', {src: target, style: 'display:none;', load: function () {
this.contentWindow.postMessage(['loadFiles', files], '*'); this.contentWindow.postMessage(['loadFiles', files], '*');
}}).appendTo('body'); }}).appendTo('body');
}); });
...@@ -271,9 +270,9 @@ var run = function () { ...@@ -271,9 +270,9 @@ var run = function () {
return itemsWidth; return itemsWidth;
} }
function widthOfHidden () { // function widthOfHidden () {
return ($filesWrapper.outerWidth() - widthOfList() - getLeftPosi()); // return ($filesWrapper.outerWidth() - widthOfList() - getLeftPosi());
} // }
function widthOfVisible () { function widthOfVisible () {
return $filesWrapper.outerWidth(); return $filesWrapper.outerWidth();
......
...@@ -11,7 +11,6 @@ function StorageHandler (updateFiles) { ...@@ -11,7 +11,6 @@ function StorageHandler (updateFiles) {
var obj = {}; var obj = {};
var done = false; var done = false;
var count = 0; var count = 0;
var dont = 0;
function check (key) { function check (key) {
chrome.storage.sync.get(key, function (resp) { chrome.storage.sync.get(key, function (resp) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment