Skip to content
This repository was archived by the owner on Jan 24, 2019. It is now read-only.

Commit f2a92f9

Browse files
committed
Merge pull request #32 from just-boris/jshint-fix
fix(event): add braces for pass jshint validation
2 parents 454fbff + de5d805 commit f2a92f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/event/event.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ angular.module('ui.event',[]).directive('uiEvent', ['$parse',
1919
//Take out first paramater (event object);
2020
params = params.splice(1);
2121
fn($scope, {$event: evt, $params: params});
22-
if (!$scope.$$phase)
22+
if (!$scope.$$phase) {
2323
$scope.$apply();
24+
}
2425
});
2526
});
2627
};

0 commit comments

Comments
 (0)