From 813410d6b52201562023bb680c784ff3b9ab9bfb Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 20 Mar 2017 13:40:29 -0600 Subject: [PATCH] don't break angular's promise :) --- oauth3.ng.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oauth3.ng.js b/oauth3.ng.js index 97f0b96..c906151 100644 --- a/oauth3.ng.js +++ b/oauth3.ng.js @@ -15,9 +15,9 @@ angular function PromiseAngularQ(fn) { var d = $q.defer(); - $timeout(function () { + //$timeout(function () { fn(d.resolve, d.reject); - }, 0); + //}, 0); //this.then = d.promise.then; //this.catch = d.promise.catch;