stefanpenner / ember-browsery-stats

MIT License
60 stars 7 forks source link

Disable addon based on a flag in Brocfile #4

Closed sivakumar-kailasam closed 9 years ago

sivakumar-kailasam commented 9 years ago

Would it make sense to have a flag in the Brocfile to toggle this addon from showing the stats even during development since not all developers in a team might be interested in these stats? This would also help in removing addon's assets from the production vendor.js file.

jasonmit commented 9 years ago

:+1: @stefanpenner I can take this up if you're down with the enhancement.

stefanpenner commented 9 years ago

@jasonmit I am down for this!

idea: Ideally it should just not include the code when disabled. (so its production safe)

jasonmit commented 9 years ago

Yup, PR incoming