From bc6d8513eae7f126f7b49439ce0c95bc6cb4ab69 Mon Sep 17 00:00:00 2001 From: Kyle Christensen Date: Tue, 26 May 2015 18:22:48 -0400 Subject: [PATCH] Fix typo in firmware flasher --- tabs/firmware_flasher.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tabs/firmware_flasher.js b/tabs/firmware_flasher.js index e2df84c0..a7e7e940 100755 --- a/tabs/firmware_flasher.js +++ b/tabs/firmware_flasher.js @@ -39,7 +39,7 @@ TABS.firmware_flasher.initialize = function (callback) { var showDevReleases = ($('input.show_development_releases').is(':checked')); releases_e.append($("".format(chrome.i18n.getMessage('firmwareFlasherOptionLabelSelectFirmware')))); - var releaseDescritpors = []; + var releaseDescriptors = []; TABS.firmware_flasher.releases.forEach(function(release){ release.assets.forEach(function(asset){ var targetFromFilenameExpression = /.*_(.*)\.(.*)/; @@ -81,11 +81,11 @@ TABS.firmware_flasher.initialize = function (callback) { "status" : release.prerelease ? "release-candidate" : "stable" }; - releaseDescritpors.push(descriptor); + releaseDescriptors.push(descriptor); }); }); - releaseDescritpors.sort(function(o1,o2){ + releaseDescriptors.sort(function(o1,o2){ // compare versions descending var cmpVal = semver(o2.version).compare(semver(o1.version)); if (cmpVal == 0){ @@ -96,7 +96,7 @@ TABS.firmware_flasher.initialize = function (callback) { }); var optionIndex = 1; - releaseDescritpors.forEach(function(descriptor){ + releaseDescriptors.forEach(function(descriptor){ var select_e = $("".format( optionIndex++,