refactor: hasGraphics

This commit is contained in:
cha0s 2019-03-19 18:04:37 -05:00
parent 53f9b10eee
commit 21c56ced91
2 changed files with 3 additions and 3 deletions

View File

@ -0,0 +1,2 @@
const hasGraphics = 'undefined' !== typeof window;
export {hasGraphics};

View File

@ -1,10 +1,8 @@
export {Color} from './color';
export {Container} from './container';
export {hasGraphics} from './has-graphics';
export {Image} from './image';
export {Primitives} from './primitives';
export {Renderable} from './renderable';
export {Renderer} from './renderer';
export {Sprite} from './sprite';
const hasGraphics = 'undefined' !== typeof window;
export {hasGraphics};