Comparing version 1.4.0 to 1.4.1
11
index.js
@@ -5,2 +5,13 @@ /* eslint-env browser */ | ||
if (typeof window.CustomEvent !== 'function') { | ||
window.CustomEvent = function(event, params) { | ||
params = params || { bubbles: false, cancelable: false, detail: undefined }; | ||
var evt = document.createEvent('CustomEvent'); | ||
evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail); | ||
return evt; | ||
}; | ||
window.CustomEvent.prototype = window.Event.prototype; | ||
} | ||
var rectangular = require('rectangular'); | ||
@@ -7,0 +18,0 @@ |
{ | ||
"name": "fincanvas", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Openfin's HTML canvas++ wrapper.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -5,2 +5,4 @@ # fincanvas | ||
> v1.4.1 - Polyfill for `CustomEvent` for IE11. | ||
> v1.4.0 - The `event.details.identifier` object passed to `finKeyDown` and `finKeyUp` events now reflects `KeyboardEvent.key` rather than the now-deprecated (as of Chromium M53) `KeyboardEvent.keyIdentifier`. The possible values in these two properties are _similar_ but not _identical_. See the deprecated [keyIdentifier list](https://www.w3.org/TR/2009/WD-DOM-Level-3-Events-20090908/#keyset-keyidentifiers) _vs._ the supported [key list](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key#Key_values). (Note that neither `fin-canvas` itself nor `fin-hypergrid` seem to have any references to `details.identifier`.) | ||
@@ -7,0 +9,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29392
750
31