tunapanda / funzo-app

Cordova app running ember and h5p
2 stars 3 forks source link

Xapi on load #116

Closed usernamenumber closed 7 years ago

usernamenumber commented 7 years ago

@Jakeii, any comments on this? The goal is to xapi log when the book is opened. Not sure why when I put the logger in a-book's didRender (f1d76b1) it logged each load twice, but adding a dedicated component that just emits a log message to the template (suggested by someone on the Ember slack channel) seems to get the job done.

Note that I also made it so you can create a config/development.js or config/deployment.js to override configs for each env without storing them in git.

Anyway, does this look reasonable to you?