So this would pass if there were shims and another global function named
importScripts so maybe add 'typeof window === undefined' ?
On Apr 18, 2014 2:21 PM, "Stefan Penner" <notifications@github.com> wrote:

> In lib/rsvp/asap.js:
>
> > @@ -52,6 +60,8 @@ if (typeof process !== 'undefined' && {}.toString.call(process) === '[object pro
> >    scheduleFlush = useNextTick();
> >  } else if (BrowserMutationObserver) {
> >    scheduleFlush = useMutationObserver();
> > +} else if (isWorker) {
> > +  scheduleFlush = useMessageChannel();
>
> We still can't trust "isWorker" it also can't be ie10
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/tildeio/rsvp.js/pull/241/files#r11781570>
> .
>