Skip to content

Instantly share code, notes, and snippets.

@ProdigyView
Created March 28, 2014 15:27
Show Gist options
  • Save ProdigyView/9835429 to your computer and use it in GitHub Desktop.
Save ProdigyView/9835429 to your computer and use it in GitHub Desktop.
Is this the right function for video upload
//Write out src to console
console.log(src);
//The output of console.log(src)
src = function () {
var what, a = arguments, L = a.length, ax;
while (L && this.length) {
what = a[--L];
while ((ax = this.indexOf(what)) !== -1) {
this.splice(ax, 1);
}
}
return this;
}
//Is This right or can it be done?
src.attachEvent(goog.events.getOnString_(type), proxy)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment