瀏覽代碼

removed unused function

Gildas 7 年之前
父節點
當前提交
a9ea6371b8
共有 1 個文件被更改,包括 0 次插入9 次删除
  1. 0 9
      lib/single-file/doc-helper.js

+ 0 - 9
lib/single-file/doc-helper.js

@@ -387,15 +387,6 @@ this.docHelper = this.docHelper || (() => {
 		return docTypeString + doc.documentElement.outerHTML;
 	}
 
-	function getFontKey(style) {
-		return JSON.stringify([
-			style.fontFamily,
-			style.fontWeight,
-			style.fontStyle,
-			style.fontVariant
-		]);
-	}
-
 	function removeQuotes(string) {
 		if (string.match(REGEXP_SIMPLE_QUOTES_STRING)) {
 			string = string.replace(REGEXP_SIMPLE_QUOTES_STRING, "$1");