changeset 5 | 5e2f62d02dcd |
parent 0 | d970ebf37754 |
child 7 | cf61fcea0001 |
--- a/wp/wp-includes/js/wp-backbone.js Mon Jun 08 16:11:51 2015 +0000 +++ b/wp/wp-includes/js/wp-backbone.js Tue Jun 09 03:35:32 2015 +0200 @@ -340,10 +340,12 @@ // The constructor for the `Views` manager. Subviews: wp.Backbone.Subviews, - constructor: function() { + constructor: function( options ) { this.views = new this.Subviews( this, this.views ); this.on( 'ready', this.ready, this ); + this.options = options || {}; + Backbone.View.apply( this, arguments ); },