/** * @param $path * @return bool */ protected function isJsPath($path) { return Path::ext($path) == 'js'; }