Advertisement
Guest User

Untitled

a guest
Feb 28th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. var funcArray = [];
  2.  
  3. Object.keys(filePaths).forEach(function(fp) {
  4.  
  5. var path = filePaths[fp];
  6. funcArray.push(
  7. $.when($.getJSON(path))
  8. .then(function(data) {
  9.  
  10. console.log("FOO!");
  11. })
  12. );
  13. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement