Skip to content

Commit

Permalink
use angular noop
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed Jul 24, 2014
1 parent 930e832 commit 0ba0645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion directive/goto.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
delete attrs.search;
} else {
// no-op function unless search exists
search = function () {};
search = angular.noop;
}
updateLink();

Expand Down

0 comments on commit 0ba0645

Please sign in to comment.