Skip to content

Commit

Permalink
Create the cache during app initialization, to ensure it exists at al…
Browse files Browse the repository at this point in the history
…l times.
  • Loading branch information
funkatron committed Dec 20, 2010
1 parent 2311a20 commit 04c2a55
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/assistants/app-assistant.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@ AppAssistant.prototype.initialize = function() {
items : []
};

if (!this.App.cache) {
this.App.cache = new TempCache({
'appObj':this.App
});
}

};


Expand Down

0 comments on commit 04c2a55

Please sign in to comment.