diff --git a/platform/framework/src/ExtensionRegistrar.js b/platform/framework/src/ExtensionRegistrar.js index 1ab0e11630..cff9819f6c 100644 --- a/platform/framework/src/ExtensionRegistrar.js +++ b/platform/framework/src/ExtensionRegistrar.js @@ -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