mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03: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