2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-02 16:04:07 +03: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
+3 -3
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) {