src/tools/normalizeUrl.js
Replace 'use·strict'
with "use·strict";
Open
Open
'use strict'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace '').replace(URI_EXTRA_SLASH_REGEX,·'$1')
with "").replace(URI_EXTRA_SLASH_REGEX,·"$1");
Open
Open
return url.replace(TRIM_SLASH, '').replace(URI_EXTRA_SLASH_REGEX, '$1')
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
Open
}
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
Open
const URI_EXTRA_SLASH_REGEX = /([^:]\/)\/+/g
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
Open
const TRIM_SLASH = /^\/+|\/+$/g
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/