diff options
Diffstat (limited to 'module/web/app/scripts/views/input')
-rw-r--r-- | module/web/app/scripts/views/input/inputLoader.js | 1 | ||||
-rw-r--r-- | module/web/app/scripts/views/input/inputView.js | 3 | ||||
-rw-r--r-- | module/web/app/scripts/views/input/textInput.js | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/module/web/app/scripts/views/input/inputLoader.js b/module/web/app/scripts/views/input/inputLoader.js index 5ccf07695..11665abb4 100644 --- a/module/web/app/scripts/views/input/inputLoader.js +++ b/module/web/app/scripts/views/input/inputLoader.js @@ -1,4 +1,5 @@ define(['./textInput'], function(textInput) { + 'use strict'; // selects appropriate input element return function(input, value, default_value, description) { diff --git a/module/web/app/scripts/views/input/inputView.js b/module/web/app/scripts/views/input/inputView.js index f2601c3eb..1fbe5042d 100644 --- a/module/web/app/scripts/views/input/inputView.js +++ b/module/web/app/scripts/views/input/inputView.js @@ -1,4 +1,5 @@ define(['jquery', 'backbone', 'underscore'], function($, Backbone, _) { + 'use strict'; // Renders input elements return Backbone.View.extend({ @@ -29,7 +30,7 @@ define(['jquery', 'backbone', 'underscore'], function($, Backbone, _) { // this.$el.data('title', "TODO: title"); this.$el.popover({ placement: 'right', - trigger: 'hover', + trigger: 'hover' // delay: { show: 500, hide: 100 } }); } diff --git a/module/web/app/scripts/views/input/textInput.js b/module/web/app/scripts/views/input/textInput.js index 3a6631a0b..0eebbf91e 100644 --- a/module/web/app/scripts/views/input/textInput.js +++ b/module/web/app/scripts/views/input/textInput.js @@ -1,4 +1,5 @@ define(['jquery', 'backbone', 'underscore', './inputView'], function($, Backbone, _, inputView) { + 'use strict'; return inputView.extend({ |