mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +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 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.
|
||||
$('hr').remove();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user