Commit 7b2d635d authored by Gergely Ujvari's avatar Gergely Ujvari

Add ES6 promise polyfill for IE support.

parent e97be71b
......@@ -52,6 +52,8 @@ Annotator.prototype.deleteAnnotation = (annotation) ->
g = Annotator.Util.getGlobal()
if g.wgxpath? then g.wgxpath.install()
# Checks for the presence of ES6Promise polyfill
if g.ES6Promise then g.ES6Promise.polyfill()
Range.BrowserRange.prototype.normalize = (root) ->
if @tainted
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment