orizens / echoes

Echoes is a media player based on youtube which provides a great user experience (no ads!). Overall, it's a web application that is based on angular.js & bootstrap.
http://orizens.github.io/echoes/index.html
MIT License
336 stars 69 forks source link

Curiosity about debugInfoEnabled #86

Closed calamarico closed 8 years ago

calamarico commented 8 years ago

Hi! Orizens, i like your app!

This issue is only to say that there is an issue using debugInfoEnabled(true) (in echoes/src/app/app.production.config.js)

If the client browser has a extension like angular-performance or batarang (i have no tested batarang but i think is the same), the extension, because it's using getRootScope, throws an exception and call to angular.reloadDebugInfo() !!! Your app suffers a reload... I have solved in my app overwritting that function:

function config ($compileProvider) { angular.reloadDebugInfo = angular.noop; $compileProvider.debugInfoEnabled(false); }

Respects

orizens commented 8 years ago

hi @calamarico thanks for complements. the app.production.config.js is compiled for production only - not in development mode.