yuanyan / halogen

A collection of loading spinners with React.js
https://yuanyan.github.io/halogen
MIT License
1.6k stars 151 forks source link

breaks in PhantomJS #20

Closed Zensavona closed 8 years ago

Zensavona commented 8 years ago

Hi there,

Having some issues testing this component in PhantomJS. Whenever I include it in a component which is included in a test, running in Phantom, I am getting these errors with (I know...) little useful information.

SYNTAX_ERR: DOM Exception 12: An invalid or illegal string was specified.

I've tried all kinds of different ways, but even a file with just import { BeatLoader } from 'halogen'; produces the error.

Running PhantomJS 1.9.19 btw

Any ideas? Chrome doesn't seem to mind at all.

Zensavona commented 8 years ago

FWIW this goes away in PhantomJS 2.1.1

-shrug-