Skip to content

Commit

Permalink
feat(platform): add backbutton event
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Apr 10, 2016
1 parent ecf9302 commit 156fdc3
Show file tree
Hide file tree
Showing 4 changed files with 136 additions and 166 deletions.
4 changes: 2 additions & 2 deletions ionic/config/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function ionicProviders(args: any = {}) {
platform.setUrl(window.location.href);
platform.setUserAgent(window.navigator.userAgent);
platform.setNavigatorPlatform(window.navigator.platform);
platform.load();
platform.load(config);
config.setPlatform(platform);

let clickBlock = new ClickBlock();
Expand All @@ -45,7 +45,7 @@ export function ionicProviders(args: any = {}) {
bindEvents(window, document, platform, events);

// prepare the ready promise to fire....when ready
platform.prepareReady(config);
platform.prepareReady();

return [
IonicApp,
Expand Down
Loading

0 comments on commit 156fdc3

Please sign in to comment.