[Pkg-mozext-commits] [tabmixplus] 12/56: Eslint 2.9.0 fix some bugs on no-fallthrough rule

David Prévot taffit at moszumanska.debian.org
Mon Jun 6 00:02:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit 27c000a9387662fc28ec70fdd3381cba0f2ecb06
Author: onemen <tabmix.onemen at gmail.com>
Date:   Fri Apr 29 21:40:29 2016 +0300

    Eslint 2.9.0 fix some bugs on no-fallthrough rule
---
 chrome/content/minit/tablib.js  | 2 +-
 chrome/content/places/places.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/minit/tablib.js b/chrome/content/minit/tablib.js
index 5ec712c..b91b718 100644
--- a/chrome/content/minit/tablib.js
+++ b/chrome/content/minit/tablib.js
@@ -1432,8 +1432,8 @@ var tablib = { // eslint-disable-line
           // if we don't find last selected we fall back to default
           if (tempIndex > -1)
             return tempIndex;
-          /* falls through */
         }
+          /* falls through */
         case 2: // opener / right  (default )
         case 5: // right tab
           /* falls through */
diff --git a/chrome/content/places/places.js b/chrome/content/places/places.js
index 4f66900..ea4b526 100644
--- a/chrome/content/places/places.js
+++ b/chrome/content/places/places.js
@@ -206,8 +206,8 @@ var TMP_Places = {
             node.parent && node.parent.itemId == historyId;
         if (!historySelected)
           return this.prefBookmark;
-        /* falls through */
       }
+        /* falls through */
       case "chrome://browser/content/history/history-panel.xul":
         return this.prefHistory;
       case "chrome://browser/content/browser.xul":

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list