Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- obj= {};
- $.ajaxSetup({ sync: false });
- params.forEach(function(param)
- asyncapi.func(param).then(function(data){
- obj.push(data);
- });
- });
- $.ajaxSetup({ sync: true });
- return obj;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement