Commit d1b594db authored by Jacob Thornton's avatar Jacob Thornton

$(document).ready instead of $(function() {}) for ender support

parent 472632ba
......@@ -25,7 +25,7 @@
var transitionEnd
$(function () {
$(document).ready(function () {
$.support.transition = (function () {
var thisBody = document.body || document.documentElement
......@@ -97,7 +97,7 @@
})
}
$(function () {
$(document).ready(function () {
new Alert($('body'), '.alert-message[data-alert] .close')
})
......
......@@ -25,7 +25,7 @@
var transitionEnd
$(function () {
$(document).ready(function () {
$.support.transition = (function () {
var thisBody = document.body || document.documentElement
......@@ -216,7 +216,7 @@
/* MODAL DATA- IMPLEMENTATION
* ========================== */
$(function () {
$(document).ready(function () {
$('body').delegate('[data-controls-modal]', 'click', function (e) {
e.preventDefault()
var $this = $(this).data('show', true)
......
......@@ -98,7 +98,7 @@
return this
}
$(function () {
$(document).ready(function () {
$('body').scrollSpy('[data-scrollspy] li > a')
})
......
......@@ -55,7 +55,7 @@
})
}
$(function () {
$(document).ready(function () {
$('body').tabs('ul[data-tabs] li > a, ul[data-pills] > li > a')
})
......
......@@ -26,7 +26,7 @@
var transitionEnd
$(function () {
$(document).ready(function () {
$.support.transition = (function () {
var thisBody = document.body || document.documentElement
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment