Skip to content

Instantly share code, notes, and snippets.

@sukima
Forked from charyorde/disfocus
Last active December 21, 2015 19:29
Show Gist options
  • Save sukima/6354222 to your computer and use it in GitHub Desktop.
Save sukima/6354222 to your computer and use it in GitHub Desktop.
function iAmAllDone() {
// Do something herebecause It's All Done!
}
function onContributionWizardAfterAddEntry(entries) {
for(var i = 0; i < entries.length; i++) {
parent.top.$j("#externalVideoID").val(entries[i].entryId);
}
// Trigger an event however the library event model handles event triggering.
someUnknownLibraryAPI.triggerEventSomehow("SomeMadeUpEvent");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment