Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d2bcb51

Browse filesBrowse files
Merge branch 'master' into eslint
2 parents f3d4115 + 82c7b87 commit d2bcb51
Copy full SHA for d2bcb51

File tree

Expand file treeCollapse file tree

6 files changed

+6414
-6
lines changed
Filter options
Expand file treeCollapse file tree

6 files changed

+6414
-6
lines changed

‎.gitignore

Copy file name to clipboardExpand all lines: .gitignore
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
node_modules
33
old
44
npm-debug.log
5+
yarn-error.log
56
.DS_Store
67
*~
78
*.swp

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ sudo: false
22
language: node_js
33
node_js: 7
44

5+
cache: yarn
6+
57
env:
68
global:
79
- CXX=g++-4.9

‎dist/immutable.js

Copy file name to clipboardExpand all lines: dist/immutable.js
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3102,8 +3102,7 @@
31023102
var iterations = 0;
31033103
iterable.__iterate(function(v, k, c) {
31043104
if (predicate.call(context, v, k, c)) {
3105-
iterations++;
3106-
return fn(v, useKeys ? k : iterations - 1, this$0);
3105+
return fn(v, useKeys ? k : iterations++, this$0);
31073106
}
31083107
}, reverse);
31093108
return iterations;

‎dist/immutable.min.js

Copy file name to clipboardExpand all lines: dist/immutable.min.js
+2-2Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/Operations.js

Copy file name to clipboardExpand all lines: src/Operations.js
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,7 @@ export function filterFactory(iterable, predicate, context, useKeys) {
315315
var iterations = 0;
316316
iterable.__iterate((v, k, c) => {
317317
if (predicate.call(context, v, k, c)) {
318-
iterations++;
319-
return fn(v, useKeys ? k : iterations - 1, this);
318+
return fn(v, useKeys ? k : iterations++, this);
320319
}
321320
}, reverse);
322321
return iterations;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.