5 ms·
> Am I missing something? Well, I can't give you stats about the codebase anymore, but to give you an idea, the app was stated with Backbone 0.3, and contain b
by byroot 13y ago
> Am I missing something?
Well, I can't give you stats about the codebase anymore, but to give you an idea, the app was stated with Backbone 0.3, and contain between 2 and 3 hundred views, collections and models.
For the `.add` etc, it can seems straightforward, but when greping you will have a lot of noise from similar methods in other libs like jQuery.
The option is the real deal. Sure I can implement the behavior back. But I don't call that upgrading. If I upgrade I want my code to look like is was coded for the new version, not maintaining 3 years of hacks for backward compatibility.
So it mean that I have to grep hundreds and hundreds of `this.soptions.something` replace them by `this.something`and add `this.something = options.something`in the constructor.
It's a PITA.
And in fine I don't see the rationale for this removal, I failed to find the commit.
- masterj 13y agoThe commit you want is here: https://github.com/jashkenas/backbone/commit/51eed189bf4d25877be4acdf51e0a4c6039583c5 https://github.com/jashkenas/backbone/commit/51eed189bf4d258... and the pull request: https://github.com/jashkenas/backbone/pull/2461 https://github.com/jashkenas/backbone/pull/2461