mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
parent
442d2dd458
commit
3bb05b5fbb
@ -8,11 +8,11 @@ $(function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
QUnit.module('affix', {
|
QUnit.module('affix', {
|
||||||
setup: function () {
|
beforeEach: function () {
|
||||||
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
||||||
$.fn.bootstrapAffix = $.fn.affix.noConflict()
|
$.fn.bootstrapAffix = $.fn.affix.noConflict()
|
||||||
},
|
},
|
||||||
teardown: function () {
|
afterEach: function () {
|
||||||
$.fn.affix = $.fn.bootstrapAffix
|
$.fn.affix = $.fn.bootstrapAffix
|
||||||
delete $.fn.bootstrapAffix
|
delete $.fn.bootstrapAffix
|
||||||
}
|
}
|
||||||
|
@ -8,11 +8,11 @@ $(function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
QUnit.module('alert', {
|
QUnit.module('alert', {
|
||||||
setup: function () {
|
beforeEach: function () {
|
||||||
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
||||||
$.fn.bootstrapAlert = $.fn.alert.noConflict()
|
$.fn.bootstrapAlert = $.fn.alert.noConflict()
|
||||||
},
|
},
|
||||||
teardown: function () {
|
afterEach: function () {
|
||||||
$.fn.alert = $.fn.bootstrapAlert
|
$.fn.alert = $.fn.bootstrapAlert
|
||||||
delete $.fn.bootstrapAlert
|
delete $.fn.bootstrapAlert
|
||||||
}
|
}
|
||||||
|
@ -8,11 +8,11 @@ $(function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
QUnit.module('button', {
|
QUnit.module('button', {
|
||||||
setup: function () {
|
beforeEach: function () {
|
||||||
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
||||||
$.fn.bootstrapButton = $.fn.button.noConflict()
|
$.fn.bootstrapButton = $.fn.button.noConflict()
|
||||||
},
|
},
|
||||||
teardown: function () {
|
afterEach: function () {
|
||||||
$.fn.button = $.fn.bootstrapButton
|
$.fn.button = $.fn.bootstrapButton
|
||||||
delete $.fn.bootstrapButton
|
delete $.fn.bootstrapButton
|
||||||
}
|
}
|
||||||
|
@ -8,11 +8,11 @@ $(function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
QUnit.module('carousel', {
|
QUnit.module('carousel', {
|
||||||
setup: function () {
|
beforeEach: function () {
|
||||||
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
||||||
$.fn.bootstrapCarousel = $.fn.carousel.noConflict()
|
$.fn.bootstrapCarousel = $.fn.carousel.noConflict()
|
||||||
},
|
},
|
||||||
teardown: function () {
|
afterEach: function () {
|
||||||
$.fn.carousel = $.fn.bootstrapCarousel
|
$.fn.carousel = $.fn.bootstrapCarousel
|
||||||
delete $.fn.bootstrapCarousel
|
delete $.fn.bootstrapCarousel
|
||||||
}
|
}
|
||||||
|
@ -8,11 +8,11 @@ $(function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
QUnit.module('collapse', {
|
QUnit.module('collapse', {
|
||||||
setup: function () {
|
beforeEach: function () {
|
||||||
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
||||||
$.fn.bootstrapCollapse = $.fn.collapse.noConflict()
|
$.fn.bootstrapCollapse = $.fn.collapse.noConflict()
|
||||||
},
|
},
|
||||||
teardown: function () {
|
afterEach: function () {
|
||||||
$.fn.collapse = $.fn.bootstrapCollapse
|
$.fn.collapse = $.fn.bootstrapCollapse
|
||||||
delete $.fn.bootstrapCollapse
|
delete $.fn.bootstrapCollapse
|
||||||
}
|
}
|
||||||
|
@ -8,11 +8,11 @@ $(function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
QUnit.module('dropdowns', {
|
QUnit.module('dropdowns', {
|
||||||
setup: function () {
|
beforeEach: function () {
|
||||||
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
||||||
$.fn.bootstrapDropdown = $.fn.dropdown.noConflict()
|
$.fn.bootstrapDropdown = $.fn.dropdown.noConflict()
|
||||||
},
|
},
|
||||||
teardown: function () {
|
afterEach: function () {
|
||||||
$.fn.dropdown = $.fn.bootstrapDropdown
|
$.fn.dropdown = $.fn.bootstrapDropdown
|
||||||
delete $.fn.bootstrapDropdown
|
delete $.fn.bootstrapDropdown
|
||||||
}
|
}
|
||||||
|
@ -8,11 +8,11 @@ $(function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
QUnit.module('modal', {
|
QUnit.module('modal', {
|
||||||
setup: function () {
|
beforeEach: function () {
|
||||||
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
||||||
$.fn.bootstrapModal = $.fn.modal.noConflict()
|
$.fn.bootstrapModal = $.fn.modal.noConflict()
|
||||||
},
|
},
|
||||||
teardown: function () {
|
afterEach: function () {
|
||||||
$.fn.modal = $.fn.bootstrapModal
|
$.fn.modal = $.fn.bootstrapModal
|
||||||
delete $.fn.bootstrapModal
|
delete $.fn.bootstrapModal
|
||||||
}
|
}
|
||||||
|
@ -8,11 +8,11 @@ $(function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
QUnit.module('popover', {
|
QUnit.module('popover', {
|
||||||
setup: function () {
|
beforeEach: function () {
|
||||||
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
||||||
$.fn.bootstrapPopover = $.fn.popover.noConflict()
|
$.fn.bootstrapPopover = $.fn.popover.noConflict()
|
||||||
},
|
},
|
||||||
teardown: function () {
|
afterEach: function () {
|
||||||
$.fn.popover = $.fn.bootstrapPopover
|
$.fn.popover = $.fn.bootstrapPopover
|
||||||
delete $.fn.bootstrapPopover
|
delete $.fn.bootstrapPopover
|
||||||
}
|
}
|
||||||
|
@ -8,11 +8,11 @@ $(function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
QUnit.module('scrollspy', {
|
QUnit.module('scrollspy', {
|
||||||
setup: function () {
|
beforeEach: function () {
|
||||||
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
||||||
$.fn.bootstrapScrollspy = $.fn.scrollspy.noConflict()
|
$.fn.bootstrapScrollspy = $.fn.scrollspy.noConflict()
|
||||||
},
|
},
|
||||||
teardown: function () {
|
afterEach: function () {
|
||||||
$.fn.scrollspy = $.fn.bootstrapScrollspy
|
$.fn.scrollspy = $.fn.bootstrapScrollspy
|
||||||
delete $.fn.bootstrapScrollspy
|
delete $.fn.bootstrapScrollspy
|
||||||
}
|
}
|
||||||
|
@ -8,11 +8,11 @@ $(function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
QUnit.module('tabs', {
|
QUnit.module('tabs', {
|
||||||
setup: function () {
|
beforeEach: function () {
|
||||||
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
||||||
$.fn.bootstrapTab = $.fn.tab.noConflict()
|
$.fn.bootstrapTab = $.fn.tab.noConflict()
|
||||||
},
|
},
|
||||||
teardown: function () {
|
afterEach: function () {
|
||||||
$.fn.tab = $.fn.bootstrapTab
|
$.fn.tab = $.fn.bootstrapTab
|
||||||
delete $.fn.bootstrapTab
|
delete $.fn.bootstrapTab
|
||||||
}
|
}
|
||||||
|
@ -8,11 +8,11 @@ $(function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
QUnit.module('tooltip', {
|
QUnit.module('tooltip', {
|
||||||
setup: function () {
|
beforeEach: function () {
|
||||||
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
|
||||||
$.fn.bootstrapTooltip = $.fn.tooltip.noConflict()
|
$.fn.bootstrapTooltip = $.fn.tooltip.noConflict()
|
||||||
},
|
},
|
||||||
teardown: function () {
|
afterEach: function () {
|
||||||
$.fn.tooltip = $.fn.bootstrapTooltip
|
$.fn.tooltip = $.fn.bootstrapTooltip
|
||||||
delete $.fn.bootstrapTooltip
|
delete $.fn.bootstrapTooltip
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user