mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Forms: Remove spaces, fix comments
This commit is contained in:
@@ -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,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) {
|
||||
|
||||
Reference in New Issue
Block a user