1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 05:19:57 +00:00

Fixed problem with recognising module headers on Windows

Pesky line breaks. Thanks to twitter.com/laheadle
This commit is contained in:
Jeremy Ruston 2013-06-27 09:04:55 +01:00
parent d93e6b1229
commit 05dc8edc5a

View File

@ -1267,7 +1267,7 @@ $tw.boot.startup = function() {
wikiInfo: "./tiddlywiki.info", wikiInfo: "./tiddlywiki.info",
wikiPluginsSubDir: "./plugins", wikiPluginsSubDir: "./plugins",
wikiTiddlersSubDir: "./tiddlers", wikiTiddlersSubDir: "./tiddlers",
jsModuleHeaderRegExpString: "^\\/\\*\\\\\\n((?:^[^\\n]*\\n)+?)(^\\\\\\*\\/$\\n?)", jsModuleHeaderRegExpString: "^\\/\\*\\\\(?:\\r?\\n)((?:^[^(?:\\r?\\n)]*(?:\\r?\\n))+?)(^\\\\\\*\\/$(?:\\r?\\n)?)",
fileExtensionInfo: {}, // Map file extension to {type:} fileExtensionInfo: {}, // Map file extension to {type:}
contentTypeInfo: {} // Map type to {encoding:,extension:} contentTypeInfo: {} // Map type to {encoding:,extension:}
} }