diff options
-rw-r--r-- | src/js/lib/ui.js | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/src/js/lib/ui.js b/src/js/lib/ui.js index 7c91769..eadc01e 100644 --- a/src/js/lib/ui.js +++ b/src/js/lib/ui.js @@ -45,15 +45,8 @@ _.extend(fiveui.UI.prototype, { this.$problems = this.$el.find('.fiveui-problems'); this.$stats = this.$el.find('.fiveui-stats'); - this.$el.find('.fiveui').resize(function() { - console.log('resize'); - }); - - this.$el.resize(function() { - console.log('resize'); - }); - this._setupClose(); + this._setupControls(); this._setupDragDrop(); this._pollResize(); @@ -71,6 +64,15 @@ _.extend(fiveui.UI.prototype, { }, /** + * Setup the functionality for the controls part of the UI. + * @private + */ + _setupControls:function() { + + + }, + + /** * Setup the drag and drop functionality for the problems window. * @private */ @@ -254,15 +256,6 @@ $(function() { var ui = new fiveui.UI(); ui.appendTo(jQuery('body')); - for(var i=0; i<10; i++) { - ui.addProblem({ - name: 'foobar', - descr: 'thinger', - xpath: 'totally an xpath', - severity: 0, - }); - } - }); })(); |