From 6125394ba844f4082803366ab9956dec13b547e2 Mon Sep 17 00:00:00 2001 From: gdh1995 Date: Fri, 28 Aug 2015 21:08:19 +0800 Subject: fix a bug that Utils using DomUtils remove Utils.createElementFromHtml since it's not in use --- lib/utils.coffee | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib') diff --git a/lib/utils.coffee b/lib/utils.coffee index c0da6fb3..90469fad 100644 --- a/lib/utils.coffee +++ b/lib/utils.coffee @@ -19,12 +19,6 @@ Utils = func = obj[components.pop()] func.apply(obj, argArray) - # Creates a single DOM element from :html - createElementFromHtml: (html) -> - tmp = DomUtils.createElement("div") - tmp.innerHTML = html - tmp.firstChild - escapeHtml: (string) -> string.replace(//g, ">") # Generates a unique ID -- cgit v1.2.3