mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 13:13:03 +02:00
fix bundle and run test against it
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
},
|
||||
"globals": {
|
||||
"sinon": false,
|
||||
"Util": false
|
||||
"Util": false,
|
||||
"bootstrap": false
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 5,
|
||||
|
@@ -1,6 +1,8 @@
|
||||
$(function () {
|
||||
'use strict'
|
||||
|
||||
window.Util = typeof bootstrap !== 'undefined' ? bootstrap.Util : Util
|
||||
|
||||
QUnit.module('util')
|
||||
|
||||
QUnit.test('Util.getSelectorFromElement should return the correct element', function (assert) {
|
||||
|
Reference in New Issue
Block a user