[Framework] Fix code style for ExtensionRegistrar

Satisfy code style standards in ExtensionRegistrar.
WTD-518.
This commit is contained in:
Victor Woeltjen 2014-11-04 13:54:14 -08:00
parent 78effaa09f
commit 126b515782

View File

@ -20,21 +20,17 @@ define(
function identify(category, extension, index) { function identify(category, extension, index) {
var name = extension.key ? var name = extension.key ?
(extension.key + "-" + index) : (extension.key + "-" + index) :
index; index;
return category + "[" + name + "]"; return category + "[" + name + "]";
} }
function identifyCategory(category) {
return category + Constants.EXTENSION_SUFFIX;
}
function echo() { function echo() {
return arguments.slice; return arguments.slice;
} }
function staticFunction(value) { function staticFunction(value) {
return function () { return value; } return function () { return value; };
} }
// Utility function; create the second argument for Angular's // Utility function; create the second argument for Angular's