some changes from #13801 - add strict mode back and ==

This commit is contained in:
fat 2014-06-12 11:11:04 -07:00
parent 696632d7da
commit 2b302f69ee
13 changed files with 1763 additions and 1738 deletions

View File

@ -9,6 +9,7 @@
"latedef" : true, "latedef" : true,
"laxbreak" : true, "laxbreak" : true,
"nonbsp" : true, "nonbsp" : true,
"strict" : true,
"undef" : true, "undef" : true,
"unused" : true, "unused" : true,
"predef" : [ "define", "require" ] "predef" : [ "define", "require" ]

View File

@ -7,12 +7,12 @@
* ======================================================================== */ * ======================================================================== */
(function (o_o) { +function () { 'use strict';
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
'use strict'; (function (o_o) {
typeof define == 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports == 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
// AFFIX CLASS DEFINITION // AFFIX CLASS DEFINITION
// ====================== // ======================
@ -143,4 +143,6 @@
}) })
}) })
}); })
}();

View File

@ -7,12 +7,12 @@
* ======================================================================== */ * ======================================================================== */
(function (o_o) { +function () { 'use strict';
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
'use strict'; (function (o_o) {
typeof define == 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports == 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
// ALERT CLASS DEFINITION // ALERT CLASS DEFINITION
// ====================== // ======================
@ -93,4 +93,6 @@
$(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close) $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
}); })
}();

View File

@ -7,12 +7,12 @@
* ======================================================================== */ * ======================================================================== */
(function (o_o) { +function () { 'use strict';
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
'use strict'; (function (o_o) {
typeof define == 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports == 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
// BUTTON PUBLIC CLASS DEFINITION // BUTTON PUBLIC CLASS DEFINITION
// ============================== // ==============================
@ -111,4 +111,6 @@
e.preventDefault() e.preventDefault()
}) })
}); })
}();

View File

@ -7,12 +7,12 @@
* ======================================================================== */ * ======================================================================== */
(function (o_o) { +function () { 'use strict';
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
'use strict'; (function (o_o) {
typeof define == 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports == 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
// CAROUSEL CLASS DEFINITION // CAROUSEL CLASS DEFINITION
// ========================= // =========================
@ -223,4 +223,6 @@
}) })
}) })
}); })
}();

View File

@ -7,12 +7,12 @@
* ======================================================================== */ * ======================================================================== */
(function (o_o) { +function () { 'use strict';
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
'use strict'; (function (o_o) {
typeof define == 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports == 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
// COLLAPSE PUBLIC CLASS DEFINITION // COLLAPSE PUBLIC CLASS DEFINITION
// ================================ // ================================
@ -171,4 +171,6 @@
Plugin.call($target, option) Plugin.call($target, option)
}) })
}); })
}();

View File

@ -7,12 +7,12 @@
* ======================================================================== */ * ======================================================================== */
(function (o_o) { +function () { 'use strict';
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
'use strict'; (function (o_o) {
typeof define == 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports == 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
// DROPDOWN CLASS DEFINITION // DROPDOWN CLASS DEFINITION
// ========================= // =========================
@ -152,4 +152,6 @@
.on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle) .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
.on('keydown.bs.dropdown.data-api', toggle + ', [role="menu"], [role="listbox"]', Dropdown.prototype.keydown) .on('keydown.bs.dropdown.data-api', toggle + ', [role="menu"], [role="listbox"]', Dropdown.prototype.keydown)
}); })
}();

View File

@ -7,12 +7,12 @@
* ======================================================================== */ * ======================================================================== */
(function (o_o) { +function () { 'use strict';
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
'use strict'; (function (o_o) {
typeof define == 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports == 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
// MODAL CLASS DEFINITION // MODAL CLASS DEFINITION
// ====================== // ======================
@ -281,4 +281,6 @@
Plugin.call($target, option, this) Plugin.call($target, option, this)
}) })
}); })
}();

View File

@ -7,12 +7,12 @@
* ======================================================================== */ * ======================================================================== */
(function (o_o) { +function () { 'use strict';
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
'use strict'; (function (o_o) {
typeof define == 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports == 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
// POPOVER PUBLIC CLASS DEFINITION // POPOVER PUBLIC CLASS DEFINITION
// =============================== // ===============================
@ -114,4 +114,6 @@
return this return this
} }
}); })
}();

View File

@ -7,12 +7,12 @@
* ======================================================================== */ * ======================================================================== */
(function (o_o) { +function () { 'use strict';
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
'use strict'; (function (o_o) {
typeof define == 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports == 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
// SCROLLSPY CLASS DEFINITION // SCROLLSPY CLASS DEFINITION
// ========================== // ==========================
@ -171,4 +171,6 @@
}) })
}) })
}); })
}();

View File

@ -7,12 +7,12 @@
* ======================================================================== */ * ======================================================================== */
(function (o_o) { +function () { 'use strict';
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
'use strict'; (function (o_o) {
typeof define == 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports == 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
// TAB CLASS DEFINITION // TAB CLASS DEFINITION
// ==================== // ====================
@ -129,4 +129,6 @@
Plugin.call($(this), 'show') Plugin.call($(this), 'show')
}) })
}); })
}();

View File

@ -8,12 +8,12 @@
* ======================================================================== */ * ======================================================================== */
(function (o_o) { +function () { 'use strict';
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
'use strict'; (function (o_o) {
typeof define == 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports == 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
// TOOLTIP PUBLIC CLASS DEFINITION // TOOLTIP PUBLIC CLASS DEFINITION
// =============================== // ===============================
@ -458,4 +458,6 @@
return this return this
} }
}); })
}();

View File

@ -7,12 +7,12 @@
* ======================================================================== */ * ======================================================================== */
(function (o_o) { +function () { 'use strict';
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
'use strict'; (function (o_o) {
typeof define == 'function' && define.amd ? define(['jquery'], o_o) :
typeof exports == 'object' ? o_o(require('jquery')) : o_o(jQuery)
})(function ($) {
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/) // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
// ============================================================ // ============================================================
@ -60,4 +60,6 @@
} }
}) })
}); })
}();