Skip to content

Commit

Permalink
WIP #229 continuing to flesh out templates for actionlib support.
Browse files Browse the repository at this point in the history
  • Loading branch information
finger563 committed Mar 26, 2018
1 parent 5cb8e9e commit bab0303
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/common/processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ define([], function() {
// make .Package convenience member for rendering code
obj.Package = parent.name;
// make .TypeName convenience member for rendering code
obj.TypeName = obj.name;
obj.TypeName = obj.name + 'Action';
// make .AdvertisedName convenience member for rendering code
obj.AdvertisedName = obj.Package + '/' + obj.name;
// get packages that this service is dependent on
Expand All @@ -235,7 +235,7 @@ define([], function() {
makeExternalActionConvenience: function(obj, objects) {
// already will have .Package convenience member for rendering code from model
// make .TypeName convenience member for rendering code
obj.TypeName = obj.name;
obj.TypeName = obj.name + 'Action';
// make .AdvertisedName convenience member for rendering code
obj.AdvertisedName = obj.Package + '/' + obj.name;
},
Expand All @@ -262,7 +262,7 @@ define([], function() {
// make .Package convenience member for rendering code
obj.Package = TopicType.Package;
// make .TypeName convenience member for rendering code
obj.TypeName = TopicType.name;
obj.TypeName = TopicType.name + 'Action';
// make .AdvertisedName convenience member for rendering code
obj.AdvertisedName = obj.name;
},
Expand Down
Loading

0 comments on commit bab0303

Please sign in to comment.