Skip to content

Commit

Permalink
chore(styleDirective): remove an unneccessary directive definition
Browse files Browse the repository at this point in the history
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 (angular#14983)
  • Loading branch information
dcherman authored and Narretz committed Aug 8, 2016
1 parent 38a4964 commit b58a7f8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion angularFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 0 additions & 2 deletions src/AngularPublic.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
formDirective,
scriptDirective,
selectDirective,
styleDirective,
optionDirective,
ngBindDirective,
ngBindHtmlDirective,
Expand Down Expand Up @@ -176,7 +175,6 @@ function publishExternalAPI(angular) {
form: formDirective,
script: scriptDirective,
select: selectDirective,
style: styleDirective,
option: optionDirective,
ngBind: ngBindDirective,
ngBindHtml: ngBindHtmlDirective,
Expand Down
6 changes: 0 additions & 6 deletions src/ng/directive/style.js

This file was deleted.

0 comments on commit b58a7f8

Please sign in to comment.