Skip to content

Commit

Permalink
Allow MDN to select an appropriate localization
Browse files Browse the repository at this point in the history
  • Loading branch information
megawac authored and akre54 committed Aug 6, 2014
1 parent 25c2da7 commit 9cfbed7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.html
Expand Up @@ -1661,7 +1661,7 @@ <h2 id="Collection">Backbone.Collection</h2>
collection. This can be used to serialize and persist the
collection as a whole. The name of this method is a bit confusing, because
it conforms to
<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#toJSON_behavior">JavaScript's JSON API</a>.
<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#toJSON_behavior">JavaScript's JSON API</a>.
</p>

<pre class="runnable">
Expand Down Expand Up @@ -1883,7 +1883,7 @@ <h2 id="Collection">Backbone.Collection</h2>
<br />
Return a shallow copy of this collection's models, using the same options as
native
<a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/slice">Array#slice</a>.
<a href="https://developer.mozilla.org/JavaScript/Reference/Global_Objects/Array/slice">Array#slice</a>.
</p>

<p id="Collection-length">
Expand All @@ -1904,7 +1904,7 @@ <h2 id="Collection">Backbone.Collection</h2>
<a href="http://underscorejs.org/#sortBy">sortBy</a>
(pass a function that takes a single argument),
as a
<a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/sort">sort</a>
<a href="https://developer.mozilla.org/JavaScript/Reference/Global_Objects/Array/sort">sort</a>
(pass a comparator function that expects two arguments),
or as a string indicating the attribute to sort by.
</p>
Expand Down Expand Up @@ -4408,7 +4408,7 @@ <h2 id="changelog">Change Log</h2>
A Backbone collection's <tt>comparator</tt> function may now behave
either like a <a href="http://underscorejs.org/#sortBy">sortBy</a>
(pass a function that takes a single argument),
or like a <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/sort">sort</a>
or like a <a href="https://developer.mozilla.org/JavaScript/Reference/Global_Objects/Array/sort">sort</a>
(pass a comparator function that expects two arguments). The comparator
function is also now bound by default to the collection &mdash; so you
can refer to <tt>this</tt> within it.
Expand Down

0 comments on commit 9cfbed7

Please sign in to comment.