(location)
| 320 | } |
| 321 | |
| 322 | _getFileBase (location) { |
| 323 | if (!location) return '/' |
| 324 | |
| 325 | const { ajaxBase } = this.options |
| 326 | |
| 327 | return typeof ajaxBase === 'undefined' ? this._getFileBaseFromFileLocation(location) : ajaxBase |
| 328 | } |
| 329 | |
| 330 | _getFileBaseFromFileLocation (fileLocationString) { |
| 331 | const pathItems = fileLocationString.split('/') |
no test coverage detected