Skip to content

Commit 193412d

Browse files
committed
Merge pull request #1 from vmakhaev/master
fix coffee to js convertion slice method
2 parents 7c8aa2f + 58d028a commit 193412d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module.exports = function(store) {
5151
regExp = patternToRegExp(pattern);
5252
matches = regExp.exec(fullPath);
5353
if (matches) {
54-
fn.apply(null, __slice.call(matches.slice(1)).concat([lookup(segments, snapshot.data)], [op], [session], [backend]));
54+
fn.apply(null, Array.prototype.slice.call(matches.slice(1)).concat([lookup(segments, snapshot.data)], [op], [session], [backend]));
5555
}
5656
}
5757
}

0 commit comments

Comments
 (0)