Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-12-28 05:24:51 +03:00
parent 08d78a3978
commit 9689707990

View File

@ -366,7 +366,7 @@ actions.Actions({
for(var k in this){
if(!k.startsWith('_')
&& this[k] != null
// XXX HACK? ...this feels a bit too abstract...
// XXX HACK? ...this feels wrong...
&& !(this[k] instanceof this.constructor)
&& this[k].json != null){
res[k] = this[k].json() } } } }],