aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.coffee
diff options
context:
space:
mode:
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