Closed duckinator closed 10 years ago
Right now widgets are unable to easily access the Gittip object as they're contained within an iframe. We should expose this within the iframe.
Gittip
The idea is to let widgets call things like Gittip.users.getPublic() and Gittip.users.getCharts() (defined in: lib/v1/api.js#L26-L43) if they need to.
Gittip.users.getPublic()
Gittip.users.getCharts()
Right now widgets are unable to easily access the
Gittip
object as they're contained within an iframe. We should expose this within the iframe.The idea is to let widgets call things like
Gittip.users.getPublic()
andGittip.users.getCharts()
(defined in: lib/v1/api.js#L26-L43) if they need to.