]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Remove trailing commas for IE8 and lower support 7239/head
authorMatt Black <github@mafro.net>
Thu, 26 Nov 2015 18:35:40 +0000 (18:35 +0000)
committerMatt Black <github@mafro.net>
Thu, 26 Nov 2015 18:35:40 +0000 (18:35 +0000)
js/foundation.drilldown.js
js/foundation.dropdown.js
js/foundation.dropdownMenu.js
js/foundation.tabs.js
js/foundation.util.box.js

index 87f74d5f400c38950110764b265b940bbe17475f..0d022b32e1c4f8b112b8cabb671d5057ccbd183e 100644 (file)
@@ -53,7 +53,7 @@
      * @option
      * @example false
      */
-    closeOnClick: false,
+    closeOnClick: false
     // holdOpen: false
   };
   /**
index a03952095921af0cf2db97dcd8203573d05c6901..a4d5e51c68441637c4a8c93659e26144f900eb1c 100644 (file)
     if(($eleDims.width >= $eleDims.windowDims.width) || (!this.counter && !Foundation.Box.ImNotTouchingYou(this.$element))){
       this.$element.offset(Foundation.Box.GetOffsets(this.$element, this.$anchor, 'center bottom', this.options.vOffset, this.options.hOffset, true)).css({
         'width': $eleDims.windowDims.width - (this.options.hOffset * 2),
-        'height': 'auto',
+        'height': 'auto'
       });
       this.classChanged = true;
       return false;
index bb853a5ba04c6133be3276b31f3885be00cff33c..4866481ddb2c0377729e6509746ad7b1e7f89950 100644 (file)
               down: nextSibling,
               up: prevSibling,
               next: openSub,
-              previous: closeSub,
+              previous: closeSub
             });
           } else { // right aligned
             $.extend(functions, {
               down: nextSibling,
               up: prevSibling,
               next: closeSub,
-              previous: openSub,
+              previous: openSub
             });
           }
         } else { // horizontal menu
             next: nextSibling,
             previous: prevSibling,
             down: openSub,
-            up: closeSub,
+            up: closeSub
           });
         }
       } else { // not tabs -> one sub
index 4b8357d00137607ae4afc9a74c40035d4efb40c2..36f3b823c55336a401553bd5c8550704ef1d3f9f 100644 (file)
@@ -26,7 +26,7 @@
       'ARROW_RIGHT': 'next',
       'ARROW_UP': 'previous',
       'ARROW_DOWN': 'next',
-      'ARROW_LEFT': 'previous',
+      'ARROW_LEFT': 'previous'
       // 'TAB': 'next',
       // 'SHIFT_TAB': 'previous'
     });
index 43309a542ba1915eb43f3496cb0d85fdbd7ad014..29a8ae594f7c75feb2ec99f0a149849977f8adef 100644 (file)
       case 'reveal full':
         return {
           left: $eleDims.windowDims.offset.left,
-          top: $eleDims.windowDims.offset.top,
+          top: $eleDims.windowDims.offset.top
         };
         break;
       default: