this.bind('run', function(context, data) { var $el = this.$element(); initialise_ui_elements($el); $(window).resize(function() { app.trigger('resize'); }); }); this.bind('resize', function(e) { size_controls( this.$element() ); });
this.bind('run', function(context, data) { var $el = this.$element(); initialise_ui_elements($el); $(window).resize(function() { app.trigger('resize'); }); }); this.bind('resize', function(e) { size_controls( this.$element() ); });