From 0f060e7bc435e1048b7fc564673049704cc41dd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Wed, 1 Jan 2014 15:42:41 +0100 Subject: 'use strict' on new line --- js/affix.js | 3 ++- js/alert.js | 3 ++- js/button.js | 3 ++- js/carousel.js | 3 ++- js/collapse.js | 3 ++- js/dropdown.js | 3 ++- js/modal.js | 3 ++- js/popover.js | 3 ++- js/scrollspy.js | 3 ++- js/tab.js | 3 ++- js/tooltip.js | 3 ++- js/transition.js | 3 ++- 12 files changed, 24 insertions(+), 12 deletions(-) (limited to 'js') diff --git a/js/affix.js b/js/affix.js index bc11feaa8..e711b4f9e 100644 --- a/js/affix.js +++ b/js/affix.js @@ -7,7 +7,8 @@ * ======================================================================== */ -+function ($) { 'use strict'; ++function ($) { + 'use strict'; // AFFIX CLASS DEFINITION // ====================== diff --git a/js/alert.js b/js/alert.js index e15658492..b9818e2fb 100644 --- a/js/alert.js +++ b/js/alert.js @@ -7,7 +7,8 @@ * ======================================================================== */ -+function ($) { 'use strict'; ++function ($) { + 'use strict'; // ALERT CLASS DEFINITION // ====================== diff --git a/js/button.js b/js/button.js index 34a61f58a..824daa702 100644 --- a/js/button.js +++ b/js/button.js @@ -7,7 +7,8 @@ * ======================================================================== */ -+function ($) { 'use strict'; ++function ($) { + 'use strict'; // BUTTON PUBLIC CLASS DEFINITION // ============================== diff --git a/js/carousel.js b/js/carousel.js index a9a2eb2d1..3fdc505d5 100644 --- a/js/carousel.js +++ b/js/carousel.js @@ -7,7 +7,8 @@ * ======================================================================== */ -+function ($) { 'use strict'; ++function ($) { + 'use strict'; // CAROUSEL CLASS DEFINITION // ========================= diff --git a/js/collapse.js b/js/collapse.js index cd8f38439..993ac3fc2 100644 --- a/js/collapse.js +++ b/js/collapse.js @@ -7,7 +7,8 @@ * ======================================================================== */ -+function ($) { 'use strict'; ++function ($) { + 'use strict'; // COLLAPSE PUBLIC CLASS DEFINITION // ================================ diff --git a/js/dropdown.js b/js/dropdown.js index 1e25403fc..4eaf72d4a 100644 --- a/js/dropdown.js +++ b/js/dropdown.js @@ -7,7 +7,8 @@ * ======================================================================== */ -+function ($) { 'use strict'; ++function ($) { + 'use strict'; // DROPDOWN CLASS DEFINITION // ========================= diff --git a/js/modal.js b/js/modal.js index 856ea7cd8..ab2bd850e 100644 --- a/js/modal.js +++ b/js/modal.js @@ -7,7 +7,8 @@ * ======================================================================== */ -+function ($) { 'use strict'; ++function ($) { + 'use strict'; // MODAL CLASS DEFINITION // ====================== diff --git a/js/popover.js b/js/popover.js index 3fd29802d..8ee9ba0e2 100644 --- a/js/popover.js +++ b/js/popover.js @@ -7,7 +7,8 @@ * ======================================================================== */ -+function ($) { 'use strict'; ++function ($) { + 'use strict'; // POPOVER PUBLIC CLASS DEFINITION // =============================== diff --git a/js/scrollspy.js b/js/scrollspy.js index fecd8a446..0d40ea550 100644 --- a/js/scrollspy.js +++ b/js/scrollspy.js @@ -7,7 +7,8 @@ * ======================================================================== */ -+function ($) { 'use strict'; ++function ($) { + 'use strict'; // SCROLLSPY CLASS DEFINITION // ========================== diff --git a/js/tab.js b/js/tab.js index d2f24ff84..92a719994 100644 --- a/js/tab.js +++ b/js/tab.js @@ -7,7 +7,8 @@ * ======================================================================== */ -+function ($) { 'use strict'; ++function ($) { + 'use strict'; // TAB CLASS DEFINITION // ==================== diff --git a/js/tooltip.js b/js/tooltip.js index d491fea0e..d93880824 100644 --- a/js/tooltip.js +++ b/js/tooltip.js @@ -8,7 +8,8 @@ * ======================================================================== */ -+function ($) { 'use strict'; ++function ($) { + 'use strict'; // TOOLTIP PUBLIC CLASS DEFINITION // =============================== diff --git a/js/transition.js b/js/transition.js index fac318af9..250f8d659 100644 --- a/js/transition.js +++ b/js/transition.js @@ -7,7 +7,8 @@ * ======================================================================== */ -+function ($) { 'use strict'; ++function ($) { + 'use strict'; // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/) // ============================================================ -- cgit v1.2.3 From 7fcfe61f4da41356b2ae974ad20536db0d74e83f Mon Sep 17 00:00:00 2001 From: Julian Thilo Date: Tue, 7 Jan 2014 01:05:24 +0100 Subject: Update copyright notices in all places - Implements new format "Copyright 2011-xxxx Twitter, Inc.", which resonates well with our History page and more accurately reflects the copyright status of the repo - grunt dist to update all the files --- js/affix.js | 2 +- js/alert.js | 2 +- js/button.js | 2 +- js/carousel.js | 2 +- js/collapse.js | 2 +- js/dropdown.js | 2 +- js/modal.js | 2 +- js/popover.js | 2 +- js/scrollspy.js | 2 +- js/tab.js | 2 +- js/tooltip.js | 2 +- js/transition.js | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) (limited to 'js') diff --git a/js/affix.js b/js/affix.js index 91a8197b0..b4ae3b851 100644 --- a/js/affix.js +++ b/js/affix.js @@ -2,7 +2,7 @@ * Bootstrap: affix.js v3.0.3 * http://getbootstrap.com/javascript/#affix * ======================================================================== - * Copyright 2014 Twitter, Inc. + * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ diff --git a/js/alert.js b/js/alert.js index ae63210e4..2842d9608 100644 --- a/js/alert.js +++ b/js/alert.js @@ -2,7 +2,7 @@ * Bootstrap: alert.js v3.0.3 * http://getbootstrap.com/javascript/#alerts * ======================================================================== - * Copyright 2014 Twitter, Inc. + * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ diff --git a/js/button.js b/js/button.js index 80705eafd..f05ef4e7f 100644 --- a/js/button.js +++ b/js/button.js @@ -2,7 +2,7 @@ * Bootstrap: button.js v3.0.3 * http://getbootstrap.com/javascript/#buttons * ======================================================================== - * Copyright 2014 Twitter, Inc. + * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ diff --git a/js/carousel.js b/js/carousel.js index 7d889a0df..9630ba6d8 100644 --- a/js/carousel.js +++ b/js/carousel.js @@ -2,7 +2,7 @@ * Bootstrap: carousel.js v3.0.3 * http://getbootstrap.com/javascript/#carousel * ======================================================================== - * Copyright 2014 Twitter, Inc. + * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ diff --git a/js/collapse.js b/js/collapse.js index 55a7be962..f2af12742 100644 --- a/js/collapse.js +++ b/js/collapse.js @@ -2,7 +2,7 @@ * Bootstrap: collapse.js v3.0.3 * http://getbootstrap.com/javascript/#collapse * ======================================================================== - * Copyright 2014 Twitter, Inc. + * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ diff --git a/js/dropdown.js b/js/dropdown.js index 289014f95..e0d837dcf 100644 --- a/js/dropdown.js +++ b/js/dropdown.js @@ -2,7 +2,7 @@ * Bootstrap: dropdown.js v3.0.3 * http://getbootstrap.com/javascript/#dropdowns * ======================================================================== - * Copyright 2014 Twitter, Inc. + * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ diff --git a/js/modal.js b/js/modal.js index c86cf6ccd..2246d2e4e 100644 --- a/js/modal.js +++ b/js/modal.js @@ -2,7 +2,7 @@ * Bootstrap: modal.js v3.0.3 * http://getbootstrap.com/javascript/#modals * ======================================================================== - * Copyright 2014 Twitter, Inc. + * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ diff --git a/js/popover.js b/js/popover.js index 6f4a9cc21..89ea151fb 100644 --- a/js/popover.js +++ b/js/popover.js @@ -2,7 +2,7 @@ * Bootstrap: popover.js v3.0.3 * http://getbootstrap.com/javascript/#popovers * ======================================================================== - * Copyright 2014 Twitter, Inc. + * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ diff --git a/js/scrollspy.js b/js/scrollspy.js index 62f8dfcc5..32ae77fdc 100644 --- a/js/scrollspy.js +++ b/js/scrollspy.js @@ -2,7 +2,7 @@ * Bootstrap: scrollspy.js v3.0.3 * http://getbootstrap.com/javascript/#scrollspy * ======================================================================== - * Copyright 2014 Twitter, Inc. + * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ diff --git a/js/tab.js b/js/tab.js index a0df7dd87..d22747fa4 100644 --- a/js/tab.js +++ b/js/tab.js @@ -2,7 +2,7 @@ * Bootstrap: tab.js v3.0.3 * http://getbootstrap.com/javascript/#tabs * ======================================================================== - * Copyright 2014 Twitter, Inc. + * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ diff --git a/js/tooltip.js b/js/tooltip.js index ce9ee4c5a..b8ce6a134 100644 --- a/js/tooltip.js +++ b/js/tooltip.js @@ -3,7 +3,7 @@ * http://getbootstrap.com/javascript/#tooltip * Inspired by the original jQuery.tipsy by Jason Frame * ======================================================================== - * Copyright 2014 Twitter, Inc. + * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ diff --git a/js/transition.js b/js/transition.js index 3559c4069..f2c485800 100644 --- a/js/transition.js +++ b/js/transition.js @@ -2,7 +2,7 @@ * Bootstrap: transition.js v3.0.3 * http://getbootstrap.com/javascript/#transitions * ======================================================================== - * Copyright 2014 Twitter, Inc. + * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ -- cgit v1.2.3 From c9ba678b9facc1afea0bc717a5c0f48e557e8fe9 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 8 Dec 2013 21:25:25 -0800 Subject: JSCS can be dumb sometimes --- js/.jscs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/.jscs.json b/js/.jscs.json index 096da217d..313bfb690 100644 --- a/js/.jscs.json +++ b/js/.jscs.json @@ -3,7 +3,7 @@ "requireLeftStickedOperators": [","], "disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], "disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], - "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], + "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"], "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], "requireLineFeedAtFileEnd": true, "requireRightStickedOperators": ["!"], -- cgit v1.2.3