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. --- src/ngScenario/Application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ngScenario') diff --git a/src/ngScenario/Application.js b/src/ngScenario/Application.js index a1ef47c7..15cd42e3 100644 --- a/src/ngScenario/Application.js +++ b/src/ngScenario/Application.js @@ -64,7 +64,7 @@ angular.scenario.Application.prototype.navigateTo = function(url, loadFn, errorF frame = self.getFrame_(); frame.load(function() { - frame.unbind(); + frame.off(); try { var $window = self.getWindow_(); -- cgit v1.2.3