Skip to content

Commit

Permalink
fixed typo and added message explaining setInterval remapping
Browse files Browse the repository at this point in the history
  • Loading branch information
funkatron committed Feb 25, 2010
1 parent 26425b5 commit b836608
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/assistants/app-assistant.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,11 @@ AppAssistant.prototype.handleCommand = function(event){
*/
AppAssistant.prototype.mapSpazcoreNamespace = function(stageController) {
stageController.window.sc = sc; // map spazcore namespace
window.setIntercval = stageController.window.setInterval;
/*
re-map setInterval to the stageController's window.setInterval,
as Mojo unsets it when we make a noWindow app.
*/
window.setInterval = stageController.window.setInterval;
};


Expand Down

0 comments on commit b836608

Please sign in to comment.