diff options
Diffstat (limited to 'docs/content/guide/dev_guide.services.$location.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.services.$location.ngdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/guide/dev_guide.services.$location.ngdoc b/docs/content/guide/dev_guide.services.$location.ngdoc index 027a2332..99a75f87 100644 --- a/docs/content/guide/dev_guide.services.$location.ngdoc +++ b/docs/content/guide/dev_guide.services.$location.ngdoc @@ -450,7 +450,7 @@ In this examples we use `<base href="/base/index.html" />` input = angular.element('<input type="text">').val(browser.url()), delay; - input.bind('keypress keyup keydown', function() { + input.on('keypress keyup keydown', function() { if (!delay) { delay = setTimeout(fireUrlChange, 250); } @@ -469,7 +469,7 @@ In this examples we use `<base href="/base/index.html" />` }; }); }]); - root.bind('click', function(e) { + root.on('click', function(e) { e.stopPropagation(); }); } |
