Make safari compatible

I'm assuming that `chrome` is a global variable that's also accessible via `this.chrome`, I don't have Chrome available right now to check.
Sure, I'll update it
On Tue, 16 Dec 2014 at 09:42 Aleksey Smolenchuk <notifications@github.com>
wrote:

> In src/inject/inject.js
> <https://github.com/lxe/require-navigator/pull/5#discussion-diff-21854931>
> :
>
> >    var readyStateCheckInterval = setInterval(function() {
> >      if (document.readyState === 'complete') {
> >        clearInterval(readyStateCheckInterval);
> >        registerInjector();
> >      }
> >    }, 10);
> > -});
> > +}
> > +
> > +if (this.chrome) {
>
> I think window.chrome is a bit more idiomatic.... just in case the whole
> logic is wrapped, and this no longer points to window
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/lxe/require-navigator/pull/5/files#r21854931>.
>