-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CustomEvent-polyfill was not used (needed in IE) (#938)
- Loading branch information
Showing
5 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
/*! | ||
* svg.js - A lightweight library for manipulating and animating SVG. | ||
* @version 2.7.0 | ||
* @version 2.7.1 | ||
* https://svgdotjs.github.io/ | ||
* | ||
* @copyright Wout Fierens <[email protected]> | ||
* @license MIT | ||
* | ||
* BUILT: Tue Nov 13 2018 21:10:01 GMT+0100 (GMT+01:00) | ||
* BUILT: Fri Nov 30 2018 10:01:55 GMT+0100 (GMT+01:00) | ||
*/; | ||
(function(root, factory) { | ||
/* istanbul ignore next */ | ||
|
@@ -3532,7 +3532,7 @@ SVG.extend(SVG.Element, { | |
if (event instanceof window.Event) { | ||
this.node.dispatchEvent(event) | ||
} else { | ||
this.node.dispatchEvent(event = new window.CustomEvent(event, {detail: data, cancelable: true})) | ||
this.node.dispatchEvent(event = new SVG.CustomEvent(event, {detail: data, cancelable: true})) | ||
} | ||
this._event = event | ||
return this | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters