1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-29 14:59:16 +02:00

remove old references to jquery and some fixes

This commit is contained in:
Johann-S
2018-03-11 16:18:56 +01:00
committed by XhmikosR
parent 0263d1742c
commit 7eddee286e
14 changed files with 44 additions and 56 deletions

View File

@@ -208,11 +208,11 @@ $(function () {
var $el = $('<div/>')
var $button = $el.bootstrapButton()
assert.ok(typeof $button.data('bs.button') !== 'undefined')
assert.ok(typeof Data.getData($button[0], 'bs.button') !== 'undefined')
$button.data('bs.button').dispose()
Data.getData($button[0], 'bs.button').dispose()
assert.ok(typeof $button.data('bs.button') === 'undefined')
assert.ok(Data.getData($button[0], 'bs.button') === null)
})
QUnit.test('should return button version', function (assert) {