Rise-Vision/component-google-drive-picker — pull request #6 by stulees (2014-07-09 16:31:57+00:00)
Title: Public API and trigger events

- Public methods for retrieving and setting the view id
- Public method for checking if picker is open/visible
- Trigger "open" when picker is visible
- Trigger "picked" when the action is picked and providing the response documents as a param
- Trigger "cancel" when the action is cancel
- Fix url origin when testing locally
- Checking value of document.referrer to determine how to configure origin value
- Using a regex to extract just domain from document.referrer value
- Leveraging window.location to assign value to origin when no document.referrer value