From 31cce72bad2a6f49edf464e2a949f9525cd4f23a Mon Sep 17 00:00:00 2001 From: Gaston Besada Date: Fri, 13 Feb 2015 14:57:11 -0300 Subject: [PATCH] Update controllers.js argument by arguments --- www/js/controllers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/js/controllers.js b/www/js/controllers.js index 23ca14a..8056d0a 100644 --- a/www/js/controllers.js +++ b/www/js/controllers.js @@ -15,7 +15,7 @@ angular.module('frontpage.controllers', ['ionic.services.analytics']) var iab = window.open(url,'_blank',params); // cordova tends to keep these in memory after they're gone so we'll help it forget iab.addEventListener('exit', function() { - iab.removeEventListener('exit', argument.callee); + iab.removeEventListener('exit', arguments.callee); iab.close(); iab = null; }); @@ -206,4 +206,4 @@ angular.module('frontpage.controllers', ['ionic.services.analytics']) $scope.loadComments = function(storyID){ $state.go('tab.search-comments',{storyID:storyID}); } -}); \ No newline at end of file +});