mirror of https://github.com/twbs/bootstrap.git
some changes from #13801 - add strict mode back and ==
This commit is contained in:
parent
696632d7da
commit
2b302f69ee
|
@ -9,6 +9,7 @@
|
|||
"latedef" : true,
|
||||
"laxbreak" : true,
|
||||
"nonbsp" : true,
|
||||
"strict" : true,
|
||||
"undef" : true,
|
||||
"unused" : true,
|
||||
"predef" : [ "define", "require" ]
|
||||
|
|
14
js/affix.js
14
js/affix.js
|
@ -7,12 +7,12 @@
|
|||
* ======================================================================== */
|
||||
|
||||
|
||||
(function (o_o) {
|
||||
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
|
||||
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
|
||||
})(function ($) {
|
||||
+function () { 'use strict';
|
||||
|
||||
'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
|
||||
// ======================
|
||||
|
@ -143,4 +143,6 @@
|
|||
})
|
||||
})
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
}();
|
||||
|
|
14
js/alert.js
14
js/alert.js
|
@ -7,12 +7,12 @@
|
|||
* ======================================================================== */
|
||||
|
||||
|
||||
(function (o_o) {
|
||||
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
|
||||
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
|
||||
})(function ($) {
|
||||
+function () { 'use strict';
|
||||
|
||||
'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
|
||||
// ======================
|
||||
|
@ -93,4 +93,6 @@
|
|||
|
||||
$(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
}();
|
||||
|
|
14
js/button.js
14
js/button.js
|
@ -7,12 +7,12 @@
|
|||
* ======================================================================== */
|
||||
|
||||
|
||||
(function (o_o) {
|
||||
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
|
||||
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
|
||||
})(function ($) {
|
||||
+function () { 'use strict';
|
||||
|
||||
'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
|
||||
// ==============================
|
||||
|
@ -111,4 +111,6 @@
|
|||
e.preventDefault()
|
||||
})
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
}();
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
* ======================================================================== */
|
||||
|
||||
|
||||
(function (o_o) {
|
||||
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
|
||||
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
|
||||
})(function ($) {
|
||||
+function () { 'use strict';
|
||||
|
||||
'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
|
||||
// =========================
|
||||
|
@ -223,4 +223,6 @@
|
|||
})
|
||||
})
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
}();
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
* ======================================================================== */
|
||||
|
||||
|
||||
(function (o_o) {
|
||||
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
|
||||
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
|
||||
})(function ($) {
|
||||
+function () { 'use strict';
|
||||
|
||||
'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
|
||||
// ================================
|
||||
|
@ -171,4 +171,6 @@
|
|||
Plugin.call($target, option)
|
||||
})
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
}();
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
* ======================================================================== */
|
||||
|
||||
|
||||
(function (o_o) {
|
||||
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
|
||||
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
|
||||
})(function ($) {
|
||||
+function () { 'use strict';
|
||||
|
||||
'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
|
||||
// =========================
|
||||
|
@ -152,4 +152,6 @@
|
|||
.on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
|
||||
.on('keydown.bs.dropdown.data-api', toggle + ', [role="menu"], [role="listbox"]', Dropdown.prototype.keydown)
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
}();
|
||||
|
|
14
js/modal.js
14
js/modal.js
|
@ -7,12 +7,12 @@
|
|||
* ======================================================================== */
|
||||
|
||||
|
||||
(function (o_o) {
|
||||
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
|
||||
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
|
||||
})(function ($) {
|
||||
+function () { 'use strict';
|
||||
|
||||
'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
|
||||
// ======================
|
||||
|
@ -281,4 +281,6 @@
|
|||
Plugin.call($target, option, this)
|
||||
})
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
}();
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
* ======================================================================== */
|
||||
|
||||
|
||||
(function (o_o) {
|
||||
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
|
||||
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
|
||||
})(function ($) {
|
||||
+function () { 'use strict';
|
||||
|
||||
'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
|
||||
// ===============================
|
||||
|
@ -114,4 +114,6 @@
|
|||
return this
|
||||
}
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
}();
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
* ======================================================================== */
|
||||
|
||||
|
||||
(function (o_o) {
|
||||
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
|
||||
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
|
||||
})(function ($) {
|
||||
+function () { 'use strict';
|
||||
|
||||
'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
|
||||
// ==========================
|
||||
|
@ -171,4 +171,6 @@
|
|||
})
|
||||
})
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
}();
|
||||
|
|
14
js/tab.js
14
js/tab.js
|
@ -7,12 +7,12 @@
|
|||
* ======================================================================== */
|
||||
|
||||
|
||||
(function (o_o) {
|
||||
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
|
||||
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
|
||||
})(function ($) {
|
||||
+function () { 'use strict';
|
||||
|
||||
'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
|
||||
// ====================
|
||||
|
@ -129,4 +129,6 @@
|
|||
Plugin.call($(this), 'show')
|
||||
})
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
}();
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
* ======================================================================== */
|
||||
|
||||
|
||||
(function (o_o) {
|
||||
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
|
||||
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
|
||||
})(function ($) {
|
||||
+function () { 'use strict';
|
||||
|
||||
'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
|
||||
// ===============================
|
||||
|
@ -458,4 +458,6 @@
|
|||
return this
|
||||
}
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
}();
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
* ======================================================================== */
|
||||
|
||||
|
||||
(function (o_o) {
|
||||
typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
|
||||
typeof exports === 'object' ? o_o(require('jquery')) : o_o(jQuery)
|
||||
})(function ($) {
|
||||
+function () { 'use strict';
|
||||
|
||||
'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/)
|
||||
// ============================================================
|
||||
|
@ -60,4 +60,6 @@
|
|||
}
|
||||
})
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
}();
|
||||
|
|
Loading…
Reference in New Issue