From b58a7f8a12dc7a2ae0023837ed77c165b62cefcc Mon Sep 17 00:00:00 2001 From: dherman Date: Mon, 8 Aug 2016 05:08:48 -0400 Subject: [PATCH] chore(styleDirective): remove an unneccessary directive definition Since the style directive is defined as a non-terminal element directive with no behavior on link, we may as well not define anything at all. PR (#14983) --- angularFiles.js | 1 - src/AngularPublic.js | 2 -- src/ng/directive/style.js | 6 ------ 3 files changed, 9 deletions(-) delete mode 100644 src/ng/directive/style.js diff --git a/angularFiles.js b/angularFiles.js index e32d5da66d7b..cde1a9c1eccb 100755 --- a/angularFiles.js +++ b/angularFiles.js @@ -80,7 +80,6 @@ var angularFiles = { 'src/ng/directive/ngTransclude.js', 'src/ng/directive/script.js', 'src/ng/directive/select.js', - 'src/ng/directive/style.js', 'src/ng/directive/validators.js', 'src/angular.bind.js', 'src/publishExternalApis.js', diff --git a/src/AngularPublic.js b/src/AngularPublic.js index 89b9afd29a9a..342690988d4b 100644 --- a/src/AngularPublic.js +++ b/src/AngularPublic.js @@ -11,7 +11,6 @@ formDirective, scriptDirective, selectDirective, - styleDirective, optionDirective, ngBindDirective, ngBindHtmlDirective, @@ -176,7 +175,6 @@ function publishExternalAPI(angular) { form: formDirective, script: scriptDirective, select: selectDirective, - style: styleDirective, option: optionDirective, ngBind: ngBindDirective, ngBindHtml: ngBindHtmlDirective, diff --git a/src/ng/directive/style.js b/src/ng/directive/style.js deleted file mode 100644 index 1e700aab3ddd..000000000000 --- a/src/ng/directive/style.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; - -var styleDirective = valueFn({ - restrict: 'E', - terminal: false -});