1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-07 13:28:01 +00:00

Add a parser for woff fonts

It's a bit of a hack to have a parser dedicated to fonts. We'll replace
it with a mechanism that handles generic binary data
This commit is contained in:
Jeremy Ruston
2013-05-01 13:04:27 +01:00
parent b672e12fef
commit 408fcd8aa3
2 changed files with 29 additions and 0 deletions

View File

@@ -1235,6 +1235,7 @@ $tw.boot.startup = function() {
$tw.utils.registerFileType("image/png","base64",".png");
$tw.utils.registerFileType("image/gif","base64",".gif");
$tw.utils.registerFileType("image/svg+xml","utf8",".svg");
$tw.utils.registerFileType("application/font-woff","base64",".woff");
// Create the wiki store for the app
$tw.wiki = new $tw.Wiki();
// Install built in tiddler fields modules