Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
expose api as window.secureApi (#3207)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr authored and arkpar committed Nov 9, 2016
1 parent 373d61f commit 6b1ca33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ const store = initStore(api);
store.dispatch({ type: 'initAll', api });
store.dispatch(setApi(api));

window.secureApi = api;

const routerHistory = useRouterHistory(createHashHistory)({});

ReactDOM.render(
Expand Down

0 comments on commit 6b1ca33

Please sign in to comment.