aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdh19952015-08-28 21:08:19 +0800
committergdh19952015-08-28 21:08:19 +0800
commit6125394ba844f4082803366ab9956dec13b547e2 (patch)
tree026708cc6bd1b6a4eda9f2a35fbbf221fb0e77e9
parent7fc38e75a63aec65b03b92acd2089fa8b0c97235 (diff)
downloadvimium-6125394ba844f4082803366ab9956dec13b547e2.tar.bz2
fix a bug that Utils using DomUtils
remove Utils.createElementFromHtml since it's not in use
-rw-r--r--lib/utils.coffee6
1 files changed, 0 insertions, 6 deletions
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, "&lt;").replace(/>/g, "&gt;")
# Generates a unique ID