Add source-build docs, optional SERVER_PORT config
This commit is contained in:
1 parent
d24b852f2a
commit
8e3aa558b0
1484 files changed
+174765
-1
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
var parsePath = require('./lib/parse-path')
|
||||
var setValue = require('./lib/set-value')
|
||||
|
||||
function appendField (store, key, value) {
|
||||
var steps = parsePath(key)
|
||||
|
||||
steps.reduce(function (context, step) {
|
||||
return setValue(context, step, context[step.key], value)
|
||||
}, store)
|
||||
}
|
||||
|
||||
module.exports = appendField
|
||||
Reference in new issue
Block a user