diff options
author | 2013-06-09 16:08:59 +0200 | |
---|---|---|
committer | 2013-06-09 16:08:59 +0200 | |
commit | ecfef4a560dece9dd911017efdfc63fcc04bedfc (patch) | |
tree | 42d00f155c47a8a80e3a023c841a59f87b73885c /module/web/app/scripts/views/queryModal.js | |
parent | restructured webui to single-page-app, removed jinja (diff) | |
download | pyload-ecfef4a560dece9dd911017efdfc63fcc04bedfc.tar.xz |
adapted to jshint config
Diffstat (limited to 'module/web/app/scripts/views/queryModal.js')
-rw-r--r-- | module/web/app/scripts/views/queryModal.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/web/app/scripts/views/queryModal.js b/module/web/app/scripts/views/queryModal.js index 5477334a0..7c6439b49 100644 --- a/module/web/app/scripts/views/queryModal.js +++ b/module/web/app/scripts/views/queryModal.js @@ -1,5 +1,6 @@ define(['jquery', 'underscore', 'app', 'views/abstract/modalView', './input/inputLoader', 'text!tpl/default/queryDialog.html'], function($, _, App, modalView, load_input, template) { + 'use strict'; return modalView.extend({ // TODO: submit on enter reloads the page sometimes @@ -38,8 +39,8 @@ define(['jquery', 'underscore', 'app', 'views/abstract/modalView', './input/inpu onRender: function() { // instantiate the input var input = this.model.get('input'); - var inputView = load_input(input); - this.input = new inputView(input); + var InputView = load_input(input); + this.input = new InputView(input); // only renders after wards this.$('#inputField').append(this.input.render().el); }, |