Skip to content

Commit 980624c

Browse files
fix(offcanvas): Removed unused isolated scopes that may conflict with other diretives.
1 parent 1f6f3bd commit 980624c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/offcanvas/offcanvas.js

-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ angular.module("mm.foundation.offcanvas", [])
3737
}])
3838
.directive('leftOffCanvasToggle', [function () {
3939
return {
40-
scope: {},
4140
require: '^offCanvasWrap',
4241
restrict: 'C',
4342
link: function ($scope, element, attrs, offCanvasWrap) {
@@ -49,7 +48,6 @@ angular.module("mm.foundation.offcanvas", [])
4948
}])
5049
.directive('rightOffCanvasToggle', [function () {
5150
return {
52-
scope: {},
5351
require: '^offCanvasWrap',
5452
restrict: 'C',
5553
link: function ($scope, element, attrs, offCanvasWrap) {
@@ -61,7 +59,6 @@ angular.module("mm.foundation.offcanvas", [])
6159
}])
6260
.directive('exitOffCanvas', [function () {
6361
return {
64-
scope: {},
6562
require: '^offCanvasWrap',
6663
restrict: 'C',
6764
link: function ($scope, element, attrs, offCanvasWrap) {
@@ -73,7 +70,6 @@ angular.module("mm.foundation.offcanvas", [])
7370
}])
7471
.directive('offCanvasList', [function () {
7572
return {
76-
scope: {},
7773
require: '^offCanvasWrap',
7874
restrict: 'C',
7975
link: function ($scope, element, attrs, offCanvasWrap) {

0 commit comments

Comments
 (0)