-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Getting the following error compiling my app with ember-dragula using Ember 2.12 and the latest version of Fastboot.
ReferenceError: document is not defined
It looks like this is the offending code, but I don't see anything like it in the repo:
module.exports = useNative() ? NativeCustomEvent :
// IE >= 9
'function' === typeof document.createEvent ? function CustomEvent (type, params) {
var e = document.createEvent('CustomEvent');
if (params) {
e.initCustomEvent(type, params.bubbles, params.cancelable, params.detail);
} else {
e.initCustomEvent(type, false, false, void 0);
}
return e;
} :
Metadata
Metadata
Assignees
Labels
No labels