mirror of
https://github.com/vale981/grapher
synced 2025-03-06 01:51:38 -05:00
updated documentor to expose reducer info
This commit is contained in:
parent
8eb9ab27f4
commit
d1bdae5360
1 changed files with 1 additions and 2 deletions
|
@ -73,8 +73,7 @@ function extractReducers(storage, collection) {
|
||||||
if (collection.__reducers) {
|
if (collection.__reducers) {
|
||||||
_.each(collection.__reducers, (value, key) => {
|
_.each(collection.__reducers, (value, key) => {
|
||||||
storage.reducers[key] = {
|
storage.reducers[key] = {
|
||||||
body: deepClone(value.body),
|
body: deepClone(value.body)
|
||||||
reduce: value.reduce.toString()
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue