Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

RequireJS not loading completely

So, I'm loading Fresco using RequireJS but it seems that is not loading properly ...

If I try to invoke Fresco.show I get a Fresco is not a function error.

So I did console.log(Fresco) and I get:

Object {version: "2.2.3", Skins: Object}

If I load Fresco without using RequireJS I get:

Object {version: "2.2.3", Skins: Object, show: function, hide: function, disable: function…}

To me, with RequireJS only part of the code is being lodaded, which is crazy to me.
I have little experience with RequireJS, so I'm probably doing someting wrong... any ideas?

Comments

Sign In or Register to comment.