Closed hems closed 12 years ago
okie dokie, will let you know once i do my tests
Solved in 0.5.5, try re-installing toaster and don't forget to check the new usage example with the 'toaster.coffee' differences. Older versions got (sadly) incompatible with this one.
Forgot to mention, README updated: https://github.com/serpentem/coffee-toaster/
Examples removed, usage added: https://github.com/serpentem/coffee-toaster/tree/master/usage
ah muleeeeeeeeeeeeeeeeki
Actually all classes are being duplicated due to the individualized compilation process, of module by module. When one module links to another, things got really messy. :/
While I don't come up with a solution you can, maybe, set only your main module in the modules's array inside the 'toaster.coffee' file, and it should remove the duplicates.
In the multimodules example, this will do the trick:
But keep in mind that your main module must be your start-point, and everything else must be imported through it, otherwise will be left out.