-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename underscore.js to underscore-umd.js, keep underscore.js as alias
- Loading branch information
1 parent
5c0cb90
commit 57a4a0e
Showing
17 changed files
with
1,874 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,6 @@ coverage | |
test-treeshake/*-umd.js | ||
amd | ||
cjs | ||
/underscore.js | ||
/underscore-min.js | ||
/underscore-min.js.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "underscore", | ||
"main": "underscore.js", | ||
"main": "underscore-umd.js", | ||
"keywords": ["util", "functional", "server", "client", "browser"], | ||
"ignore" : ["docs", "test", "*.yml", "CNAME", "index.html", "favicon.ico", "CONTRIBUTING.md", ".*", "package.json", "karma.*"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -482,17 +482,17 @@ <h2>v1.12.0 Downloads <i style="padding-left: 12px; font-size:12px;">(Right-clic | |
</td> | ||
</tr> | ||
<tr> | ||
<td class="dl-link"><a href="underscore.js">UMD (Development)</a></td> | ||
<td class="dl-link"><a href="underscore-umd.js">UMD (Development)</a></td> | ||
<td> | ||
<i>67.45kb, Uncompressed with Bountiful Comments</i> | ||
<small>(<a href="underscore.js.map">Source Map</a>)</small> | ||
<small>(<a href="underscore-umd.js.map">Source Map</a>)</small> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td class="dl-link"><a href="underscore-min.js">UMD (Production)</a></td> | ||
<td class="dl-link"><a href="underscore-umd-min.js">UMD (Production)</a></td> | ||
<td> | ||
<i>7.39kb, Minified and Gzipped</i> | ||
<small>(<a href="underscore-min.js.map">Source Map</a>)</small> | ||
<small>(<a href="underscore-umd-min.js.map">Source Map</a>)</small> | ||
</td> | ||
</tr> | ||
<tr> | ||
|
@@ -503,7 +503,7 @@ <h2>v1.12.0 Downloads <i style="padding-left: 12px; font-size:12px;">(Right-clic | |
<td><i>Unreleased, current <tt>master</tt>, use by your own judgement and at your own risk</i></td> | ||
</tr> | ||
<tr> | ||
<td class="dl-link"><a href="https://raw.github.com/jashkenas/underscore/master/underscore.js">Edge UMD</a></td> | ||
<td class="dl-link"><a href="https://raw.github.com/jashkenas/underscore/master/underscore-umd.js">Edge UMD</a></td> | ||
<td><i>Unreleased, current <tt>master</tt>, use if you’re feeling lucky</i></td> | ||
</tr> | ||
</table> | ||
|
@@ -512,25 +512,25 @@ <h2>v1.12.0 CDN URLs <i style="padding-left: 12px; font-size:12px;">(Use with <t | |
|
||
<ul> | ||
<li> | ||
<tt>https://cdn.jsdelivr.net/npm/[email protected]/underscore-min.js</tt> | ||
<tt>https://cdn.jsdelivr.net/npm/[email protected]/underscore-umd-min.js</tt> | ||
</li> | ||
<li> | ||
<tt>https://cdn.jsdelivr.net/npm/[email protected]/underscore-esm-min.js</tt> | ||
</li> | ||
<li> | ||
<tt>https://unpkg.com/[email protected]/underscore-min.js</tt> | ||
<tt>https://unpkg.com/[email protected]/underscore-umd-min.js</tt> | ||
</li> | ||
<li> | ||
<tt>https://unpkg.com/[email protected]/underscore-esm-min.js</tt> | ||
</li> | ||
<li> | ||
<tt>https://pagecdn.io/lib/underscore/1.12.0/underscore-min.js</tt> | ||
<tt>https://pagecdn.io/lib/underscore/1.12.0/underscore-umd-min.js</tt> | ||
</li> | ||
<li> | ||
<tt>https://pagecdn.io/lib/underscore/1.12.0/underscore-esm-min.js</tt> | ||
</li> | ||
<li> | ||
<tt>https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.12.0/underscore-min.js</tt> | ||
<tt>https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.12.0/underscore-umd-min.js</tt> | ||
</li> | ||
<li> | ||
<tt>https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.12.0/underscore-esm-min.js</tt> | ||
|
@@ -564,7 +564,7 @@ <h2>Monolithic Import</h2> | |
<b>CommonJS</b> <tt>var _ = require('underscore');</tt> | ||
</li> | ||
<li> | ||
<b>ExtendScript</b> <tt>#include "underscore.js"</tt> | ||
<b>ExtendScript</b> <tt>#include "underscore-umd.js"</tt> | ||
</li> | ||
</ul> | ||
|
||
|
@@ -3893,7 +3893,7 @@ <h2 id="changelog">Change Log</h2> | |
</div> | ||
|
||
<!-- Include Underscore, so you can play with it in the console. --> | ||
<script type="text/javascript" src="underscore.js"></script> | ||
<script type="text/javascript" src="underscore-umd.js"></script> | ||
<script type="text/javascript" src="docs/main.js"></script> | ||
|
||
</body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.