Permalink
Browse files

Update references to deprecated `_.intersect`.

  • Loading branch information...
1 parent 6ab42d2 commit dc624f457a156669073a21c676ef525a62a57217 @braddunbar braddunbar committed Jun 14, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 test/speed.js
  2. +1 −1 test/test.html
View
@@ -60,8 +60,8 @@
return _.values(objects);
});
- JSLitmus.test('_.intersect()', function() {
- return _.intersect(numbers, randomized);
+ JSLitmus.test('_.intersection()', function() {
+ return _.intersection(numbers, randomized);
});
JSLitmus.test('_.range()', function() {
View
@@ -30,7 +30,7 @@ <h1 class="qunit-header">Underscore Speed Suite</h1>
A representative sample of the functions are benchmarked here, to provide
a sense of how fast they might run in different browsers.
Each iteration runs on an array of 1000 elements.<br /><br />
- For example, the 'intersect' test measures the number of times you can
+ For example, the 'intersection' test measures the number of times you can
find the intersection of two thousand-element arrays in one second.
</p>
<br>

0 comments on commit dc624f4

Please sign in to comment.