Forms: Remove spaces, fix comments

This commit is contained in:
guerler
2015-03-02 14:29:44 -05:00
parent c242f5d59f
commit e1ddac18a7
8 changed files with 16 additions and 14 deletions
@@ -2,9 +2,10 @@
define(['utils/utils', 'mvc/ui/ui-misc', 'mvc/ui/ui-tabs', 'mvc/tools/tools-template'],
function(Utils, Ui, Tabs, ToolTemplate) {
// track current history elements
history = {};
// hda/hdca content selector ui element
var View = Backbone.View.extend({
// initialize
initialize : function(app, options) {
@@ -251,12 +252,12 @@ var View = Backbone.View.extend({
if (id_list === null) {
return null;
}
// transform into an array
if (!(id_list instanceof Array)) {
id_list = [id_list];
}
// check if value exists
if (id_list.length === 0) {
return null;
@@ -331,7 +332,7 @@ var View = Backbone.View.extend({
}
return false;
},
/** Batch message template */
template_batch: function() {
return '<div class="ui-table-form-info">' +
@@ -1,5 +1,5 @@
/**
This is the base class of the tool form plugin. It is referenced as 'app' in all lower level modules.
This is the base class of the tool form plugin. This class is e.g. inherited by the regular and the workflow tool form.
*/
define(['utils/utils', 'utils/deferred', 'mvc/ui/ui-misc', 'mvc/form/form-view',
'mvc/tools/tools-template', 'mvc/citation/citation-model', 'mvc/citation/citation-view'],
@@ -1,5 +1,5 @@
/**
This is the main class of the tool form plugin. It is referenced as 'app' in all lower level modules.
This is the workflow tool form.
*/
define(['utils/utils', 'mvc/tools/tools-form-base'],
function(Utils, ToolFormBase) {
@@ -1,5 +1,5 @@
/**
This is the main class of the tool form plugin. It is referenced as 'app' in all lower level modules.
This is the regular tool form.
*/
define(['utils/utils', 'mvc/ui/ui-misc', 'mvc/tools/tools-form-base', 'mvc/tools/tools-jobs'],
function(Utils, Ui, ToolFormBase, ToolJobs) {
@@ -2,9 +2,10 @@
define(['utils/utils', 'mvc/ui/ui-misc', 'mvc/ui/ui-tabs', 'mvc/tools/tools-template'],
function(Utils, Ui, Tabs, ToolTemplate) {
// track current history elements
history = {};
// hda/hdca content selector ui element
var View = Backbone.View.extend({
// initialize
initialize : function(app, options) {
@@ -251,12 +252,12 @@ var View = Backbone.View.extend({
if (id_list === null) {
return null;
}
// transform into an array
if (!(id_list instanceof Array)) {
id_list = [id_list];
}
// check if value exists
if (id_list.length === 0) {
return null;
@@ -331,7 +332,7 @@ var View = Backbone.View.extend({
}
return false;
},
/** Batch message template */
template_batch: function() {
return '<div class="ui-table-form-info">' +
+1 -1
View File
@@ -1,5 +1,5 @@
/**
This is the base class of the tool form plugin. It is referenced as 'app' in all lower level modules.
This is the base class of the tool form plugin. This class is e.g. inherited by the regular and the workflow tool form.
*/
define(['utils/utils', 'utils/deferred', 'mvc/ui/ui-misc', 'mvc/form/form-view',
'mvc/tools/tools-template', 'mvc/citation/citation-model', 'mvc/citation/citation-view'],
@@ -1,5 +1,5 @@
/**
This is the main class of the tool form plugin. It is referenced as 'app' in all lower level modules.
This is the workflow tool form.
*/
define(['utils/utils', 'mvc/tools/tools-form-base'],
function(Utils, ToolFormBase) {
+1 -1
View File
@@ -1,5 +1,5 @@
/**
This is the main class of the tool form plugin. It is referenced as 'app' in all lower level modules.
This is the regular tool form.
*/
define(['utils/utils', 'mvc/ui/ui-misc', 'mvc/tools/tools-form-base', 'mvc/tools/tools-jobs'],
function(Utils, Ui, ToolFormBase, ToolJobs) {