mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 21:27:52 +00:00
[Framework] Fix code style for ExtensionRegistrar
Satisfy code style standards in ExtensionRegistrar. WTD-518.
This commit is contained in:
parent
78effaa09f
commit
126b515782
@ -20,21 +20,17 @@ define(
|
||||
|
||||
function identify(category, extension, index) {
|
||||
var name = extension.key ?
|
||||
(extension.key + "-" + index) :
|
||||
index;
|
||||
(extension.key + "-" + index) :
|
||||
index;
|
||||
return category + "[" + name + "]";
|
||||
}
|
||||
|
||||
function identifyCategory(category) {
|
||||
return category + Constants.EXTENSION_SUFFIX;
|
||||
}
|
||||
|
||||
function echo() {
|
||||
return arguments.slice;
|
||||
}
|
||||
|
||||
function staticFunction(value) {
|
||||
return function () { return value; }
|
||||
return function () { return value; };
|
||||
}
|
||||
|
||||
// Utility function; create the second argument for Angular's
|
||||
|
Loading…
Reference in New Issue
Block a user