1
0
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:
Johann-S
2018-03-29 22:16:56 +02:00
committed by Mark Otto
parent 9cdb7a8301
commit fd57d371f8
5 changed files with 60 additions and 1 deletions

View File

@@ -6,7 +6,8 @@
},
"globals": {
"sinon": false,
"Util": false
"Util": false,
"bootstrap": false
},
"parserOptions": {
"ecmaVersion": 5,

View File

@@ -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) {