Anybody working with Dojo on the asset pipeline?
Now my dojofile is in coffeescript and it dojo.requires my starting file (also in coffeesecript) i.e:
So, this actually works! well… somewhat. myobj executes fine, though the console reports an error that dojo couldn’t find myobj.js in the modulePaths…
Now if I register the modulePath to dojoConfig prior to the dojo.js load, it still is looking for the compiled myobj.js which isn’t there until runtime, i guess, right?
I haven’t tried completely turning off the auto compilation of coffeescript and do it manually (so the myobj.js actually exists)… though I don’t know if anybody else has a better solution here… .or maybe just somehow supress those errors (as it is actually working)?