Skip to content

Commit

Permalink
Fixed bug (forgot to rename _initOauthLogin)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paolo Scanferla committed Sep 17, 2014
1 parent 5f84b83 commit 5ce577c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/asteroid.chrome.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dist/asteroid.cordova.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion dist/asteroid.node.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/platforms/chrome/login.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/platforms/cordova/login.js
Original file line number Diff line number Diff line change
@@ -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");
Expand Down
2 changes: 1 addition & 1 deletion src/platforms/node/login.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 5ce577c

Please sign in to comment.