2d-inc / Flare-JS

Flare Javascript ES6 runtime with Canvas rendering.
https://flare.rive.app
MIT License
265 stars 59 forks source link

Graphics.js:45 Uncaught TypeError: cb is not a function #19

Open chenhongen opened 5 years ago

chenhongen commented 5 years ago

Flowing the readme.md,but can't run.There is a error in console: image

ronaldohoch commented 5 years ago

Same here! :/

Can't make it work :/

DesignerSin commented 5 years ago

20 line in example.js

this._Graphics.initialize("../build/", () =>

fix to

this._Graphics.initialize(() =>

.......

ready();

}, "../build/");

cb is not a function..

The parameter order is incorrect.

sorry. English is too difficult

chenhongen commented 5 years ago

good job.It worked well@DesignerSin

ronaldohoch commented 5 years ago

Thank you so much, @DesignerSin!

joelsoncastro commented 5 years ago

Superb! Thank you 👌👌