refactor: hasGraphics
This commit is contained in:
parent
53f9b10eee
commit
21c56ced91
2
packages/graphics/has-graphics.js
Normal file
2
packages/graphics/has-graphics.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
const hasGraphics = 'undefined' !== typeof window;
|
||||
export {hasGraphics};
|
|
@ -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};
|
||||
|
|
Loading…
Reference in New Issue
Block a user