diff options
| author | Johann-S <[email protected]> | 2017-10-24 10:12:45 +0200 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2017-10-24 12:39:25 +0200 |
| commit | 62fbb23ee61999e362cd8ade6073732a46466077 (patch) | |
| tree | 4407025061f33fc39da7526f544b773f7457078c /js/tests | |
| parent | ca4ad8bee8000617c2ae1a08afe7af1103058776 (diff) | |
| download | bootstrap-62fbb23ee61999e362cd8ade6073732a46466077.tar.xz bootstrap-62fbb23ee61999e362cd8ade6073732a46466077.zip | |
Change Rollup config to wrap our dist files with jQuery instead of $
Diffstat (limited to 'js/tests')
| -rw-r--r-- | js/tests/index.html | 1 | ||||
| -rw-r--r-- | js/tests/unit/util.js | 19 |
2 files changed, 0 insertions, 20 deletions
diff --git a/js/tests/index.html b/js/tests/index.html index 0385b8a2b..2383fce6e 100644 --- a/js/tests/index.html +++ b/js/tests/index.html @@ -119,7 +119,6 @@ <script src="unit/tab.js"></script> <script src="unit/tooltip.js"></script> <script src="unit/popover.js"></script> - <script src="unit/util.js"></script> </head> <body> <div id="qunit-container"> diff --git a/js/tests/unit/util.js b/js/tests/unit/util.js deleted file mode 100644 index c3412041e..000000000 --- a/js/tests/unit/util.js +++ /dev/null @@ -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 - }) -}) |
