Skip to content

Commit 752b898

Browse files
committed
Build: Take core-js from the external directory as well
All the other files were already taken from the external directory. The fact core-js was taken from node_modules broke IE core tests on TestSwarm. Ref gh-4865 Ref gh-4870 (partially cherry picked from 345cd22)
1 parent b14b62c commit 752b898

File tree

4 files changed

+33
-1
lines changed

4 files changed

+33
-1
lines changed

Gruntfile.js

+3
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ module.exports = function( grunt ) {
8080
"sizzle/dist": "sizzle/dist",
8181
"sizzle/LICENSE.txt": "sizzle/LICENSE.txt",
8282

83+
"core-js/core-js.js": "core-js/client/core.min.js",
84+
"core-js/LICENSE.txt": "core-js/LICENSE",
85+
8386
"npo/npo.js": "native-promise-only/lib/npo.src.js",
8487

8588
"qunit/qunit.js": "qunit/qunit/qunit.js",

external/core-js/LICENSE.txt

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2014-2019 Denis Pushkarev
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

external/core-js/core-js.js

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/data/core/jquery-iterability-transpiled.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<title>jQuery objects transpiled iterability test page</title>
6-
<script src="../../../node_modules/core-js/client/core.min.js"></script>
6+
<script src="../../../external/core-js/core-js.js"></script>
77
<script src="../../jquery.js"></script>
88
<script src="../iframeTest.js"></script>
99
<script src="jquery-iterability-transpiled.js"></script>

0 commit comments

Comments
 (0)