Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "file1.js"
- for(var key in data){
- class.functionName(data[key]);
- }
- "file2.js"
- Class.prototype.functionName = function(data){
- // do something
- return result; // need to keep that separately
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement