kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Removed extraneous parameters to JSONParser constructor
rodzic
56e701b326
commit
6066b5cf89
|
@ -28,7 +28,7 @@ var App = function() {
|
||||||
this.store = new WikiStore();
|
this.store = new WikiStore();
|
||||||
// Register the parsers
|
// Register the parsers
|
||||||
this.store.registerParser("text/x-tiddlywiki",new WikiTextParser({store: this.store}));
|
this.store.registerParser("text/x-tiddlywiki",new WikiTextParser({store: this.store}));
|
||||||
this.store.registerParser("application/json",new JSONParser({store: this.store}));
|
this.store.registerParser("application/json",new JSONParser());
|
||||||
var imageParser = new ImageParser();
|
var imageParser = new ImageParser();
|
||||||
this.store.registerParser("image/svg+xml",imageParser);
|
this.store.registerParser("image/svg+xml",imageParser);
|
||||||
this.store.registerParser("image/jpg",imageParser);
|
this.store.registerParser("image/jpg",imageParser);
|
||||||
|
|
Ładowanie…
Reference in New Issue