mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-22 23:16:53 +00:00
Get rid of the obsolete font parser
This commit is contained in:
parent
b4884d820d
commit
5abc0a7835
@ -1,28 +0,0 @@
|
||||
/*\
|
||||
title: $:/core/modules/parsers/fontparser.js
|
||||
type: application/javascript
|
||||
module-type: parser
|
||||
|
||||
The font parser parses fonts into URI encoded base64
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
||||
/*jslint node: true, browser: true */
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
var FontParser = function(type,text,options) {
|
||||
this.tree = [{
|
||||
type: "element",
|
||||
tag: "span",
|
||||
children: [
|
||||
{type: "text", text: "data:" + type + ";base64," + text}
|
||||
]
|
||||
}];
|
||||
};
|
||||
|
||||
exports["application/font-woff"] = FontParser;
|
||||
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user