fix(build): clang-format
This commit is contained in:
parent
93055f78ea
commit
66ec4d1f5c
|
@ -177,7 +177,8 @@ class DirectiveBinderSerializer {
|
|||
class ElementBinderSerializer {
|
||||
static serialize(binder: ElementBinder): Object {
|
||||
return {
|
||||
'index': binder.index, 'parentIndex': binder.parentIndex,
|
||||
'index': binder.index,
|
||||
'parentIndex': binder.parentIndex,
|
||||
'distanceToParent': binder.distanceToParent,
|
||||
'directives': Serializer.serialize(binder.directives, DirectiveBinder),
|
||||
'nestedProtoView': Serializer.serialize(binder.nestedProtoView, ProtoViewDto),
|
||||
|
@ -209,8 +210,10 @@ class ProtoViewDtoSerializer {
|
|||
static serialize(view: ProtoViewDto): Object {
|
||||
// TODO: fix render refs and write a serializer for them
|
||||
return {
|
||||
'render': null, 'elementBinders': Serializer.serialize(view.elementBinders, ElementBinder),
|
||||
'variableBindings': Serializer.mapToObject(view.variableBindings), 'type': view.type
|
||||
'render': null,
|
||||
'elementBinders': Serializer.serialize(view.elementBinders, ElementBinder),
|
||||
'variableBindings': Serializer.mapToObject(view.variableBindings),
|
||||
'type': view.type
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue