Skip to content

Commit

Permalink
other eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
msalcala11 committed Jul 29, 2015
1 parent 3ef36d0 commit c52208c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/angular/directive/exposeAsideWhen.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ IonicModule.directive('exposeAsideWhen', ['$window', function($window) {
// in media matching status occurs
var mq = $attr.exposeAsideWhen == 'large' ? '(min-width:768px)' : $attr.exposeAsideWhen;
var mql = $window.matchMedia(mq);
mql.addListener(function () {
mql.addListener(function() {
onResize();
})
});

function checkAsideExpose() {
var mq = $attr.exposeAsideWhen == 'large' ? '(min-width:768px)' : $attr.exposeAsideWhen;
Expand All @@ -71,4 +71,4 @@ IonicModule.directive('exposeAsideWhen', ['$window', function($window) {
$scope.$evalAsync(checkAsideExpose);
}
};
}]);
}]);

0 comments on commit c52208c

Please sign in to comment.