firebaseui-web icon indicating copy to clipboard operation
firebaseui-web copied to clipboard

Syntax error on example in Readme

Open jefferythewind opened this issue 10 years ago • 4 comments

In the example with all parameters used it seems there is a misplaced bracket. Inside the callbacks object, the signInSuccess function is missing the closing bracket after return true; and then there is an extra bracket way down after tosUrl.

The way it is now, all of the uiConfig parameters are inside the callbacks object, which i don't think is supposed to be.

jefferythewind avatar Nov 26 '16 15:11 jefferythewind

Hey Jeffery, thanks for catching that. We will get it fixed soon.

bojeil-google avatar Nov 28 '16 18:11 bojeil-google

Awesome

jefferythewind avatar Nov 29 '16 22:11 jefferythewind

Just fixed in my latest PR.

TMSCH avatar Nov 29 '16 22:11 TMSCH

@TMSCH unfortunately I think there is still an extra bracket after tosUrl:

    // Terms of service url.
    tosUrl: '<your-tos-url>'
    }                                       // <-- this one is extra
};

jefferythewind avatar Nov 30 '16 08:11 jefferythewind