1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-19 08:14:50 +00:00

Fixed incorrect MIME type on script block

This commit is contained in:
Jeremy Ruston 2012-04-13 13:26:25 +01:00
parent 24b134a9cf
commit fd10f3bd66

View File

@ -415,7 +415,7 @@ Recipe.tiddlerOutputter = {
for(var t=0; t<tiddlers.length; t++) { for(var t=0; t<tiddlers.length; t++) {
var title = tiddlers[t], var title = tiddlers[t],
tid = this.store.getTiddler(title); tid = this.store.getTiddler(title);
out.push("<" + "script type=\"application/javascript\" data-tiddler-title=\"" + title + "\">"); out.push("<" + "script type=\"text/javascript\" data-tiddler-title=\"" + title + "\">");
out.push("define(\"" + title + "\",function(require,exports,module) {"); out.push("define(\"" + title + "\",function(require,exports,module) {");
out.push(tid.text); out.push(tid.text);
out.push("});"); out.push("});");