private static function shouldWrap($viewName) { return Config::getValue('debug') && !self::isJavaScriptView($viewName); }