mardi 27 septembre 2016

Turns warnings into errors in Ember.JS

Is it possible to throw warnings as errors in Ember application. I found

Ember.ENV.RAISE_ON_DEPRECATION = true

but as I understand it works only for depreciation warning. I want to throw warnings like

"WARNING: Binding style attributes may introduce cross-site scripting vulnerabilities; please ensure that values being bound are properly escaped. For more information, including how to disable this warning, see http://ift.tt/2dwCNSm."




Aucun commentaire:

Enregistrer un commentaire