Skip to content
Myr

Fixed partial() issue where the parent locals clobber those given directly

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent cbbee38 · Browse files · 2 files+10 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+10 added−8 removed

  • other:+10 added−8 removed

2 files+10 added−8 removed

modified:lib/utils.js+9 added-7 removed
modified:lib/view.js+1 added-1 removed
64 unmodified lines
65 options = {};66 }6768 // Inherit locals from parent69 merge(options, locals);69 union(options, locals);70 71 // Merge locals72 if (options.locals) {73 merge(options, options.locals);
230 unmodified lines