From f1b94b4b599ab701bc75b55bbbbb73c5ef329a93 Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski Date: Wed, 19 Jun 2013 20:52:50 +0100 Subject: feat(jqLite): switch bind/unbind to more recent jQuery on/off jQuery switched to a completely new event binding implementation as of 1.7.0, centering around on/off methods instead of previous bind/unbind. This patch makes jqLite match this implementation while still supporting previous bind/unbind methods. --- docs/content/guide/concepts.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/content/guide/concepts.ngdoc') diff --git a/docs/content/guide/concepts.ngdoc b/docs/content/guide/concepts.ngdoc index fc5bce0a..06a06885 100644 --- a/docs/content/guide/concepts.ngdoc +++ b/docs/content/guide/concepts.ngdoc @@ -303,7 +303,7 @@ in HTML. require: 'ngModel', link: function(scope, elm, attrs, ctrl) { // view -> model - elm.bind('blur', function() { + elm.on('blur', function() { scope.$apply(function() { ctrl.$setViewValue(elm.html()); }); -- cgit v1.2.3