Closed erikahlswede closed 8 years ago
I should note that the path of the traditional BossView has changed from Backbone.Marionette.BossView to Backbone.Marionette.BossView.ItemView.
This seems like a good idea, I'd like to use BossView with a CompositeView instead of an ItemView. Any chance this will get merged?
I need to re-roll this. I should have a clean merge request soon
Hmm, this would be useful for me as well. I could use BossView on a CompositeView, using cocktail seems interesting.
We did something very similar: make BossView a mixin and use Cocktail, or even just _.extend(). https://github.com/CraigAtWork/BossView
It would be great if BossView was just packaged as a mixin to apply to any Marionette view.
Any chance of a clean merge soon? This looks fantastic, eager to get my hands on it :)
I can work on this tomorrow.
Can't wait :+1:
Any updates? Did you need a hand with the merge? :)
Bump! ;)
@erikahlswede I added you as a contributor to the repo. I apologize it took me so long to get on this. We are no longer using BossView at my work. But if you are still using it, please help keep it moving forward. Thanks.
We have a commit here, can we merge it in? ^^
Many months later, going to close this and re-roll a clean pull request
Added Marionette.CompositeView BossView. Pulled out main BossView functionality into a mixin and use it in both the ItemView and CompositeView BossView definition.
If this is something you are interested in, I can clean up test cases and right new ones for the Mixin/CompositeView
The mixins can be made very simple if a mixin library such as CocktailJS is introduced: https://github.com/onsi/cocktail