-
-
Save Gozala/4637925 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var obj = { | |
_discoverScriptsAndSources: function TA__discoverScriptsAndSources() { | |
let scriptsAdded = []; | |
for (let s of this.dbg.findScripts()) { | |
if (!this._allowSource(s.url)) { | |
continue; | |
} | |
scriptsAdded.push(this._addScript(s)); | |
} | |
return scriptsAdded; | |
} | |
} | |
let doShit = promised(function doShit() { | |
// do you're shit here | |
}) | |
doShit.apply(null, obj._discoverScriptsAndSources()) |
Author
Gozala
commented
Jan 25, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment