commit/galaxy-central: jgoecks: Change ToolInput to ToolParameter in JavaScript tools implementation to match language used in model.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/c55f7d1dc3a1/ Changeset: c55f7d1dc3a1 User: jgoecks Date: 2013-07-25 18:56:30 Summary: Change ToolInput to ToolParameter in JavaScript tools implementation to match language used in model. Affected #: 1 file diff -r a5a6c75e9af7098b4a4b35b917d49b8cc5abad43 -r c55f7d1dc3a1e18b8f1b6e20157cc209caa647dd static/scripts/mvc/tools.js --- a/static/scripts/mvc/tools.js +++ b/static/scripts/mvc/tools.js @@ -33,9 +33,9 @@ }); /** - * A tool input. + * A tool parameter. */ -var ToolInput = Backbone.RelationalModel.extend({ +var ToolParameter = Backbone.RelationalModel.extend({ defaults: { name: null, label: null, @@ -49,7 +49,7 @@ }, copy: function() { - return new ToolInput(this.toJSON()); + return new ToolParameter(this.toJSON()); }, /** @@ -88,7 +88,7 @@ { type: Backbone.HasMany, key: 'inputs', - relatedModel: ToolInput, + relatedModel: ToolParameter, reverseRelation: { key: 'tool', includeInJSON: false Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org