2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Change Rollup config to wrap our dist files with jQuery instead of $

This commit is contained in:
Johann-S
2017-10-24 10:12:45 +02:00
parent ca4ad8bee8
commit 62fbb23ee6
15 changed files with 24 additions and 50 deletions
-19
View File
@@ -1,19 +0,0 @@
$(function () {
'use strict'
QUnit.module('Util')
QUnit.test('Util.jQuery should find window.jQuery if window.$ is not available', function (assert) {
assert.expect(1)
delete window.$
assert.strictEqual(Util.jQuery, window.jQuery)
window.$ = Util.jQuery
})
QUnit.test('Util.jQuery should find window.$ if window.jQuery is not available', function (assert) {
assert.expect(1)
delete window.jQuery
assert.strictEqual(Util.jQuery, window.$)
window.jQuery = Util.jQuery
})
})