mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Rename “_” id references to “lodash”.
This commit is contained in:
@@ -37,6 +37,10 @@ function build(type) {
|
|||||||
const $header = $('h1').first().remove();
|
const $header = $('h1').first().remove();
|
||||||
const version = _.trim($header.find('span').first().text()).slice(1);
|
const version = _.trim($header.find('span').first().text()).slice(1);
|
||||||
|
|
||||||
|
// Rename "_" id references to "lodash".
|
||||||
|
$('#_').attr('id', 'lodash');
|
||||||
|
$('[href="#_"]').attr('href', '#lodash');
|
||||||
|
|
||||||
// Remove docdown horizontal rules.
|
// Remove docdown horizontal rules.
|
||||||
$('hr').remove();
|
$('hr').remove();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user