File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1414
1515 // Helpers
1616 // -------
17-
17+
1818 // Create quick reference variables for speed access to core prototypes.
1919 var slice = Array . prototype . slice ;
2020 var splice = Array . prototype . splice ;
2626
2727 _ . mixin ( {
2828 // Concatenates one or more arrays given as arguments. If given objects and
29- // scalars as arguments `cat` will plop them down in place in the result
29+ // scalars as arguments `cat` will plop them down in place in the result
3030 // array. If given an `arguments` object, `cat` will treat it like an array
3131 // and concatenate it likewise.
3232 cat : function ( ) {
8989 if ( sz === 0 ) return array ;
9090 if ( sz === 1 ) return array ;
9191
92- return slice . call ( _ . mapcat ( array , function ( elem ) {
92+ return slice . call ( _ . mapcat ( array , function ( elem ) {
9393 return _ . cons ( elem , [ inter ] ) ;
9494 } ) , 0 , - 1 ) ;
9595 } ,
167167 return ret ;
168168 } ,
169169
170- // Runs its given function on the index of the elements rather than
170+ // Runs its given function on the index of the elements rather than
171171 // the elements themselves, keeping all of the truthy values in the end.
172172 keepIndexed : function ( array , pred ) {
173173 return _ . filter ( _ . map ( _ . range ( _ . size ( array ) ) , function ( i ) {
You can’t perform that action at this time.
0 commit comments