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)
This commit is contained in:
dherman
2016-08-08 05:08:48 -04:00
committed by Martin Staffa
parent 38a49641fd
commit b58a7f8a12
3 changed files with 0 additions and 9 deletions
-1
View File
@@ -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',
-2
View File
@@ -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,
-6
View File
@@ -1,6 +0,0 @@
'use strict';
var styleDirective = valueFn({
restrict: 'E',
terminal: false
});