Created
August 6, 2012 13:57
-
-
Save dmikis/3274609 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
100000, | |
200000, | |
300000 | |
] | |
// vs | |
[100000, | |
200000, | |
300000] | |
// i.e. | |
.map(function (file) { | |
return rowJSON( | |
[ | |
'/actions/download-export.xml?regionId=', | |
regionId, | |
'&fileName', | |
encodeURIComponent(file) | |
].join(''), | |
file.split('.').slice(-1)[0]); | |
}); | |
// vs | |
.map(function (file) { | |
return rowJSON( | |
['/actions/download-export.xml?regionId=', | |
regionId, | |
'&fileName', | |
encodeURIComponent(file)].join(''), | |
file.split('.').slice(-1)[0]); | |
}); |
tarmolov
commented
Aug 6, 2012
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment