@@ -2566,7 +2566,7 @@ <h2 id="changelog">Change Log</h2>
25662566 first being called a specified number of times.
25672567 < tt > _.invoke</ tt > can now take a direct function reference.
25682568 < tt > _.every</ tt > now requires an iterator function to be passed, which
2569- mirrors the ECMA5 API.
2569+ mirrors the ES5 API.
25702570 < tt > _.extend</ tt > no longer copies keys when the value is undefined.
25712571 < tt > _.bind</ tt > now errors when trying to bind an undefined value.
25722572 </ p >
@@ -2577,10 +2577,10 @@ <h2 id="changelog">Change Log</h2>
25772577 representing default options.
25782578 Added an < tt > _.once</ tt > function, for manufacturing functions that should
25792579 only ever execute a single time.
2580- < tt > _.bind</ tt > now delegates to the native ECMAScript 5 version,
2580+ < tt > _.bind</ tt > now delegates to the native ES5 version,
25812581 where available.
25822582 < tt > _.keys</ tt > now throws an error when used on non-Object values, as in
2583- ECMAScript 5 .
2583+ ES5 .
25842584 Fixed a bug with < tt > _.keys</ tt > when used over sparse arrays.
25852585 </ p >
25862586
@@ -2599,13 +2599,13 @@ <h2 id="changelog">Change Log</h2>
25992599 In CommonJS, Underscore may now be required with just: < br />
26002600 < tt > var _ = require("underscore")</ tt > .
26012601 Added < tt > _.throttle</ tt > and < tt > _.debounce</ tt > functions.
2602- Removed < tt > _.breakLoop</ tt > , in favor of an ECMA5 -style un-< i > break</ i > -able
2602+ Removed < tt > _.breakLoop</ tt > , in favor of an ES5 -style un-< i > break</ i > -able
26032603 each implementation — this removes the try/catch, and you'll now have
26042604 better stack traces for exceptions that are thrown within an Underscore iterator.
26052605 Improved the < b > isType</ b > family of functions for better interoperability
26062606 with Internet Explorer host objects.
26072607 < tt > _.template</ tt > now correctly escapes backslashes in templates.
2608- Improved < tt > _.reduce</ tt > compatibility with the ECMA5 version:
2608+ Improved < tt > _.reduce</ tt > compatibility with the ES5 version:
26092609 if you don't pass an initial value, the first item in the collection is used.
26102610 < tt > _.each</ tt > no longer returns the iterated collection, for improved
26112611 consistency with ES5's < tt > forEach</ tt > .
@@ -2628,7 +2628,7 @@ <h2 id="changelog">Change Log</h2>
26282628 < p id ="1.1.0 ">
26292629 < b class ="header "> 1.1.0</ b > — < small > < i > August 18, 2010</ i > </ small > — < a href ="https://github.com/jashkenas/underscore/compare/1.0.4...1.1.0 "> Diff</ a > — < a href ="https://cdn.rawgit.com/jashkenas/underscore/1.1.0/index.html "> Docs</ a > < br />
26302630 The method signature of < tt > _.reduce</ tt > has been changed to match
2631- the ECMAScript 5 signature, instead of the Ruby/Prototype.js version.
2631+ the ES5 signature, instead of the Ruby/Prototype.js version.
26322632 This is a backwards-incompatible change. < tt > _.template</ tt > may now be
26332633 called with no arguments, and preserves whitespace. < tt > _.contains</ tt >
26342634 is a new alias for < tt > _.include</ tt > .
@@ -2675,7 +2675,7 @@ <h2 id="changelog">Change Log</h2>
26752675 safer duck-typing on collection functions, and cleaner internals. A new
26762676 < tt > _.mixin</ tt > method that allows you to extend Underscore with utility
26772677 functions of your own. Added < tt > _.times</ tt > , which works the same as in
2678- Ruby or Prototype.js. Native support for ECMAScript 5 's < tt > Array.isArray</ tt > ,
2678+ Ruby or Prototype.js. Native support for ES5 's < tt > Array.isArray</ tt > ,
26792679 and < tt > Object.keys</ tt > .
26802680 </ p >
26812681
0 commit comments