diff options
| author | gdh1995 | 2015-08-28 21:08:19 +0800 | 
|---|---|---|
| committer | gdh1995 | 2015-08-28 21:08:19 +0800 | 
| commit | 6125394ba844f4082803366ab9956dec13b547e2 (patch) | |
| tree | 026708cc6bd1b6a4eda9f2a35fbbf221fb0e77e9 | |
| parent | 7fc38e75a63aec65b03b92acd2089fa8b0c97235 (diff) | |
| download | vimium-6125394ba844f4082803366ab9956dec13b547e2.tar.bz2 | |
fix a bug that Utils using DomUtils
remove Utils.createElementFromHtml since it's not in use
| -rw-r--r-- | lib/utils.coffee | 6 | 
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, "<").replace(/>/g, ">")    # Generates a unique ID | 
