2d-inc / Flare-JS

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

Examples are not working q.cb is not a function #35

Closed crtl closed 5 years ago

crtl commented 5 years ago

Hello, I cant try out the example. Ive downloaded the files and copied gl-matrix.js into the build dir but it still does not work.

Console:

Uncaught TypeError: q.cb is not a function
    at Graphics.js:73
(anonymous) @   Graphics.js:73
setTimeout (async)      
(anonymous) @   Graphics.js:67
Promise.then (async)        
initialize  @   Graphics.js:59
FlareExample    @   example.js:20
onLoad  @   example.html:25
onload
umberto-sonnino commented 5 years ago

We were just working on this the other day, I've merged the PR we had in place for this. If you pull the latest master it should be working now..!