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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user