diff options
author | Vincent Ambo <mail@tazj.in> | 2018-06-26T10·23+0200 |
---|---|---|
committer | Vincent Ambo <github@tazj.in> | 2018-06-26T19·06+0200 |
commit | 2db3bbcdbe0d4760cb16a847d8a56f2a4319316e (patch) | |
tree | a25d98386080ff571e1e2287de9f4b2e3bb85e76 /kontemplate.rb | |
parent | bd5980a5d7433fd0ec81bd270c9d58e506ede54b (diff) |
refactor(context): Rewrite and explain value merging logic
Changes the logic for merging context values to be unambiguous and easy to follow. * loadDefaultVars returns the default vars directly instead of performing merging in addition * all merging is performed in `mergeContextValues` using explicit explanations for every step of the merge. After this commit the order of merging goes from least to most "specific", please read the explanatory comments for more information. This relates to #142.
Diffstat (limited to 'kontemplate.rb')
0 files changed, 0 insertions, 0 deletions