Sha256: 36251bbfbbedf1c896f55ce23db08d3bb34fc1ebda7e39018e6b49e451e09d53
Contents?: true
Size: 448 Bytes
Versions: 67
Compression:
Stored size: 448 Bytes
Contents
pageflow.subviewContainer = { subview: function(view) { this.subviews = this.subviews || new Backbone.ChildViewContainer(); this.subviews.add(view.render()); return view; }, appendSubview: function(view) { return this.$el.append(this.subview(view).el); }, onClose: function() { if (this.subviews) { this.subviews.call('close'); } } }; Cocktail.mixin(Backbone.Marionette.View, pageflow.subviewContainer);
Version data entries
67 entries across 67 versions & 1 rubygems