aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.coffee
diff options
context:
space:
mode:
authorStephen Blott2015-09-06 11:31:03 +0100
committerStephen Blott2015-09-06 11:31:03 +0100
commit0829148981eaba1c25be757cc9c8210af6a8be61 (patch)
tree8491fcfbffc66e2f41eab6e1205cbd7e06043d8c /lib/utils.coffee
parentbd8a551d264eca08805923b72739e24f882661dd (diff)
parent0537ebb07670909a21134e16ed30b3786fc6f4a0 (diff)
downloadvimium-0829148981eaba1c25be757cc9c8210af6a8be61.tar.bz2
Merge pull request #1798 from gdh1995/run-on-xml-pages
Run on XML pages (version 2)
Diffstat (limited to 'lib/utils.coffee')
-rw-r--r--lib/utils.coffee6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/utils.coffee b/lib/utils.coffee
index d4beff03..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 = document.createElement("div")
- tmp.innerHTML = html
- tmp.firstChild
-
escapeHtml: (string) -> string.replace(/</g, "&lt;").replace(/>/g, "&gt;")
# Generates a unique ID