diff options
author | Trevor Elliott <trevor@galois.com> | 2013-07-12 10:26:34 -0700 |
---|---|---|
committer | Trevor Elliott <trevor@galois.com> | 2013-07-12 10:26:34 -0700 |
commit | f29bd568fa77adae985c3c0fd47d5b6a03fc0490 (patch) | |
tree | d59e90596a11ff02ea87d9dc4d8176beb4bec2c6 | |
parent | e97db5e80b1abd641109093eee691b7fcc12999a (diff) |
Mostly working ui replacement
-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, - }); - } - }); })(); |