Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 910de49

Browse files
diegofss11pkozlowski-opensource
authored andcommitted
refactor(ngSwitch):delete default directive restriction
delete the directive restriction to avoid code duplication since the default is already applied Closes #10987 Closes #11119
1 parent 7fe139a commit 910de49

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ng/directive/ngSwitch.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@
130130
*/
131131
var ngSwitchDirective = ['$animate', function($animate) {
132132
return {
133-
restrict: 'EA',
134133
require: 'ngSwitch',
135134

136135
// asks for $scope to fool the BC controller module

0 commit comments

Comments
 (0)