@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.
@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
orconfig/deployment.js
to override configs for each env without storing them in git.Anyway, does this look reasonable to you?