Skip to content

Instantly share code, notes, and snippets.

@MaximSpirin
Last active October 13, 2015 20:50
Show Gist options
  • Select an option

  • Save MaximSpirin/8c69cc5ddd01f4ce931e to your computer and use it in GitHub Desktop.

Select an option

Save MaximSpirin/8c69cc5ddd01f4ce931e to your computer and use it in GitHub Desktop.
<script >
$(document).ready(function(){
DrillEditorProxy.getDrillByIdCallback = function(id, onSuccess, onFailure){
//look for the drill data and call onSuccess or onFailure
};
DrillEditorProxy.drillStartupData = {presentationId : 1234};
DrillEditorProxy.drillsCollection = [];
window.drillEditorApplication = new DrillEditorApplication("user001","0123456789");
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment