Perhaps I'm just not understanding the documentation just yet when it comes to Escaping JS and CSS. Currently I'm reading this section: http://zf2.readthedocs.org/en/latest/modules/zend.escaper.escaping-javascript.html
In my current View I have the following: (Works just fine)
$this->headScript()->appendFile($this->basePath() . '/asset/login/index.js', 'text/javascript');
After reviewing the documentation I assume I should be doing this instead?
$this->escapeJs($this->headScript()->appendFile($this->basePath() . '/asset/login/index.js', 'text/javascript'));
The same would be for include CSS Files using escapeCss().