hay / stapes

the Javascript MVC microframework that does just enough
http://hay.github.io/stapes
MIT License
443 stars 54 forks source link

fix typo on extend function #33

Closed gonchuki closed 11 years ago

gonchuki commented 11 years ago

So turns out I was checking out your library and found out this typo.

I'm wondering why nothing that uses the lib broke on your end as a git blame shown this change dates to Jan 11, but you might need some tests around this feature.

hay commented 11 years ago

Thanks for your PR. Actually, i just saw that wasn't the only problem, the extend method didn't extend the prototype of the module, so the function was essentially useless and broke all plugins. Apparently not a lot of people use plugins, so i guess that's why nobody noticed. Thanks again!