- init: function(element, model, template) {
+ init: function(element, model, template)
+ {
+ console.log("init for view");
this._resizeHandler = this.resized.bind(this);
$(window).bind('resize', this._resizeHandler);
$(this.element).bind('resize', this._resizeHandler);
},
this._resizeHandler = this.resized.bind(this);
$(window).bind('resize', this._resizeHandler);
$(this.element).bind('resize', this._resizeHandler);
},
this.overlay = this.overlay
|| $('<div><div>' + message + '</div></div>')
.addClass(this.overlayClass)
this.overlay = this.overlay
|| $('<div><div>' + message + '</div></div>')
.addClass(this.overlayClass)