jpurcell/birdhouse — pull request #33 by eric-sofisoftwarellc (2012-06-26 23:47:08+00:00)
Title: Add custom url interception for beforeload

If callback_url is specified when creating the BH instance, it can be intercepted before the webview loads it.
This tells us the auth step is done.

For example:
var BH = new BirdHouse({ ...
callback_url: "myfineapp://callback"
});

When this is found in the url for beforeload, we're done.