diff --git a/dist/asteroid.chrome.js b/dist/asteroid.chrome.js index c66c07e..c017f4c 100644 --- a/dist/asteroid.chrome.js +++ b/dist/asteroid.chrome.js @@ -1115,7 +1115,7 @@ Asteroid.prototype._reEstablishSubscriptions = function () { } }; -Asteroid.prototype._initOauthLogin = function (credentialToken, loginUrl, afterCredentialSecretReceived) { +Asteroid.prototype._openOauthPopup = function (credentialToken, loginUrl, afterCredentialSecretReceived) { var self = this; var deferred = Q.defer(); // Open the oauth tab diff --git a/dist/asteroid.cordova.js b/dist/asteroid.cordova.js index f0520c5..b1c8f43 100644 --- a/dist/asteroid.cordova.js +++ b/dist/asteroid.cordova.js @@ -1115,7 +1115,7 @@ Asteroid.prototype._reEstablishSubscriptions = function () { } }; -Asteroid.prototype._initOauthLogin = function (credentialToken, loginUrl, afterCredentialSecretReceived) { +Asteroid.prototype._openOauthPopup = function (credentialToken, loginUrl, afterCredentialSecretReceived) { var self = this; // Open the oauth popup var popup = window.open(loginUrl, "_blank", "location=no,toolbar=no"); diff --git a/dist/asteroid.node.js b/dist/asteroid.node.js index 5c0a653..c7623b6 100644 --- a/dist/asteroid.node.js +++ b/dist/asteroid.node.js @@ -1109,7 +1109,7 @@ Asteroid.prototype._reEstablishSubscriptions = function () { } }; -Asteroid.prototype._initOauthLogin = function (credentialToken, loginUrl, afterCredentialSecretReceived) { +Asteroid.prototype._openOauthPopup = function (credentialToken, loginUrl, afterCredentialSecretReceived) { var deferred = Q.defer(); deferred.reject("Oauth login not supported in node"); return deferred.promise; diff --git a/src/platforms/chrome/login.js b/src/platforms/chrome/login.js index de7ed0c..425c32d 100644 --- a/src/platforms/chrome/login.js +++ b/src/platforms/chrome/login.js @@ -1,4 +1,4 @@ -Asteroid.prototype._initOauthLogin = function (credentialToken, loginUrl, afterCredentialSecretReceived) { +Asteroid.prototype._openOauthPopup = function (credentialToken, loginUrl, afterCredentialSecretReceived) { var self = this; var deferred = Q.defer(); // Open the oauth tab diff --git a/src/platforms/cordova/login.js b/src/platforms/cordova/login.js index 0e8ed47..0af96cd 100644 --- a/src/platforms/cordova/login.js +++ b/src/platforms/cordova/login.js @@ -1,4 +1,4 @@ -Asteroid.prototype._initOauthLogin = function (credentialToken, loginUrl, afterCredentialSecretReceived) { +Asteroid.prototype._openOauthPopup = function (credentialToken, loginUrl, afterCredentialSecretReceived) { var self = this; // Open the oauth popup var popup = window.open(loginUrl, "_blank", "location=no,toolbar=no"); diff --git a/src/platforms/node/login.js b/src/platforms/node/login.js index 168f059..5510bcf 100644 --- a/src/platforms/node/login.js +++ b/src/platforms/node/login.js @@ -1,4 +1,4 @@ -Asteroid.prototype._initOauthLogin = function (credentialToken, loginUrl, afterCredentialSecretReceived) { +Asteroid.prototype._openOauthPopup = function (credentialToken, loginUrl, afterCredentialSecretReceived) { var deferred = Q.defer(); deferred.reject("Oauth login not supported in node"); return deferred.promise;