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:
Subramanya Sastry 2014-03-26 14:08:03 -05:00
parent e8351a4f07
commit d99166010c

View file

@ -459,7 +459,7 @@ References.prototype.insertReferencesIntoDOM = function(refsNode) {
} }
if (refGroup) { if (refGroup) {
refGroup.refs.map(refGroup.renderLine.bind(refGroup, refsNode)); refGroup.refs.forEach(refGroup.renderLine.bind(refGroup, refsNode));
} }
// reset // reset