Skip to content

Commit 0c938eb

Browse files
committed
Added conditional to console log
1 parent b91c1a0 commit 0c938eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example-app/js/app.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ app.controller("MainController", function($scope, $timeout, NGAnnotation)
7979

8080
$scope.onAnnotate = function($annotation)
8181
{
82-
console.log($annotation);
82+
if console.log
83+
console.log($annotation);
8384
};
8485

8586
$scope.onAnnotateError = function($ex)

0 commit comments

Comments
 (0)