tcorral / Hydra.js

Create a scalable, maintainable and module oriented system using Hydra.js
http://tcorral.github.com/Hydra.js
MIT License
102 stars 12 forks source link

Improve compatibility with requirejs #16

Closed rafayepes closed 11 years ago

rafayepes commented 11 years ago

Since now it wasn't possible to start a module using the FakeModule and passing some data to the init method. It wasn't possible as well to stop some specific instance of the module using the stop method of the FakeModule.

I had problems when testing if a module was started using the FakeModule and I think it could be easily solved by using Hydra.module instead of Module.prototype

tcorral commented 11 years ago

Just done the changes, but is not possible to merge this pull request. Thanks a lot.