mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 15:04:02 +00:00
Minor code cleanup: Use forEach instead of map where appropriate
* Also replaced buf with newTokens in ext.core.TemplateHandler.js Change-Id: I81e05a13c9373aa298d710b7942f9fe3cd802e63
This commit is contained in:
parent
e8351a4f07
commit
d99166010c
|
@ -459,7 +459,7 @@ References.prototype.insertReferencesIntoDOM = function(refsNode) {
|
|||
}
|
||||
|
||||
if (refGroup) {
|
||||
refGroup.refs.map(refGroup.renderLine.bind(refGroup, refsNode));
|
||||
refGroup.refs.forEach(refGroup.renderLine.bind(refGroup, refsNode));
|
||||
}
|
||||
|
||||
// reset
|
||||
|
|
Loading…
Reference in a new issue