firebase/firebase-simple-login — pull request #52 by aaronj1335 (2014-08-10 21:33:31+00:00)
Title: Don't assume a script tag for jsonp transport

The JSONP transport [assumes there's a `

` tag, and you're rendering a react.js app on
`document.body` (like the examples [here][examples]), then `ref` will be
undefined.

This just adds the JSONP `

`.

I was getting the same error message as #43, but I don't know if Twitter
auth is using JSONP, so I'm not sure if it's related.

[trouble]:
https://github.com/firebase/firebase-simple-login/blob/5f0fc6639fc0d4c669c208d3d9f10265afd5e961/js/src/simple-login/transports/JSONP.js#L100
[examples]:
http://facebook.github.io/react/blog/2013/11/05/thinking-in-react.html