Created
May 19, 2014 20:12
-
-
Save vanhecke/944e786488170e373f97 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
//Skipped some code from this part: | |
data_length = JSON.parse(data).length | |
var total_data = new Array(); | |
total_data.push(JSON.parse(data)); | |
/// | |
// What does this .concat.apply do? | |
var merged = []; | |
merged = merged.concat.apply(merged, total_data); | |
success(merged); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment