Skip to content

Comment on Backbone.js adds Controllers and Historyparent

Comments

If the solution only covers part of what you need, then that is indeed a problem that should be fixed ... by covering all of what you need.

On the other hand, I'll leave it up to your judgement whether the lines in the address plugin are necessary. You can compare implementations here:

https://github.com/asual/jquery-address/blob/master/src/jque...

http://documentcloud.github.com/backbone/docs/backbone.html#...

If 90% of Backbone apps end up using Controllers, it's better to include a concise implementation than a heavy dependency, I think.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.