mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Use template string literals in build-doc.js.
This commit is contained in:
@@ -17,9 +17,9 @@ const version = pkg.version;
|
|||||||
const config = {
|
const config = {
|
||||||
'base': {
|
'base': {
|
||||||
'path': path.join(basePath, 'lodash.js'),
|
'path': path.join(basePath, 'lodash.js'),
|
||||||
'title': '<a href="https://lodash.com/">lodash</a> <span>v' + version + '</span>',
|
'title': `<a href="https://lodash.com/">lodash</a> <span>v${ version }</span>`,
|
||||||
'toc': 'categories',
|
'toc': 'categories',
|
||||||
'url': 'https://github.com/lodash/lodash/blob/' + version + '/lodash.js'
|
'url': `https://github.com/lodash/lodash/blob/${ version }/lodash.js`
|
||||||
},
|
},
|
||||||
'github': {
|
'github': {
|
||||||
'style': 'github',
|
'style': 'github',
|
||||||
|
|||||||
Reference in New Issue
Block a user