Skip to content

Instantly share code, notes, and snippets.

@fitzgen
Created January 25, 2013 21:14
Show Gist options
  • Save fitzgen/4637923 to your computer and use it in GitHub Desktop.
Save fitzgen/4637923 to your computer and use it in GitHub Desktop.
_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 promised(Array).apply(scriptsAdded);
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment