Permalink
Browse files

fix an unintentional rename

  • Loading branch information...
1 parent 7c81f11 commit 61605ffdabd7f08f43c095290d7435c8173c9794 @jchris jchris committed Mar 26, 2013
Showing with 4 additions and 5 deletions.
  1. +1 −2 vendor/README.md
  2. +3 −3 vendor/browserid-ios/Sources/PersonaController.js
View
@@ -3,7 +3,6 @@ Update the sources by running:
cd vendor/
rm -rf browserid-ios
git clone git://github.com/couchbaselabs/browserid-ios.git
- cd browserid-ios
- rm -rf .git/
+ rm -rf browserid-ios/.git/
I'd use git submodules but I'm not sure how the plugin installer feels about them.
@@ -4,7 +4,7 @@ window.onload = function()
{
// The origin is setup when this code template is loaded in the native application
var origin = "%@";
-
+
var callbackToCocoa = function(name, value) {
window.location = "personaViewController://" + name + "/callback?data=" + value;
};
@@ -29,8 +29,8 @@ window.onload = function()
var options = {};
// Doomed attempt to future-proof against internal changes Mozilla may or may not make to dialog.js
- if (Persona && Persona.internal) {
- Persona.internal.get(origin, internalGetCallback, options);
+ if (BrowserID && BrowserID.internal) {
+ BrowserID.internal.get(origin, internalGetCallback, options);
} else if (Persona && Persona.internal) {
Persona.internal.get(origin, internalGetCallback, options);
}

0 comments on commit 61605ff

Please sign in to comment.