From ecfef4a560dece9dd911017efdfc63fcc04bedfc Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 9 Jun 2013 16:08:59 +0200 Subject: adapted to jshint config --- module/web/app/scripts/views/queryModal.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'module/web/app/scripts/views/queryModal.js') 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); }, -- cgit v1.2.3