1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-27 18:40:28 +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",
wikiPluginsSubDir: "./plugins",
wikiTiddlersSubDir: "./tiddlers",
jsModuleHeaderRegExpString: "^\\/\\*\\\\\\n((?:^[^\\n]*\\n)+?)(^\\\\\\*\\/$\\n?)",
jsModuleHeaderRegExpString: "^\\/\\*\\\\(?:\\r?\\n)((?:^[^(?:\\r?\\n)]*(?:\\r?\\n))+?)(^\\\\\\*\\/$(?:\\r?\\n)?)",
fileExtensionInfo: {}, // Map file extension to {type:}
contentTypeInfo: {} // Map type to {encoding:,extension:}
}