From 126b515782e9c65b0000fea61a910a627bae5e42 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Tue, 4 Nov 2014 13:54:14 -0800 Subject: [PATCH] [Framework] Fix code style for ExtensionRegistrar Satisfy code style standards in ExtensionRegistrar. WTD-518. --- platform/framework/src/ExtensionRegistrar.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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