Revert "Passed "store" to the other parser constructors"

This reverts commit 017be8f4ff.
This commit is contained in:
Jeremy Ruston
2012-02-11 20:02:35 +00:00
parent 017be8f4ff
commit c100b434f9
7 changed files with 68 additions and 58 deletions

View File

@@ -26,8 +26,8 @@ var App = function() {
this.store = new WikiStore();
// Register the parsers
this.store.registerParser("text/x-tiddlywiki",new WikiTextParser({store: this.store}));
this.store.registerParser("application/json",new JSONParser({store: this.store}));
var imageParser = new ImageParser({store: this.store});
this.store.registerParser("application/json",new JSONParser());
var imageParser = new ImageParser();
this.store.registerParser("image/svg+xml",imageParser);
this.store.registerParser("image/jpg",imageParser);
this.store.registerParser("image/jpeg",imageParser);