mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Marko v3: Fix for empty ObjectExpression
This commit is contained in:
parent
e576718d11
commit
b7f8f2f3f1
@ -12,7 +12,7 @@ class ObjectExpression extends Node {
|
||||
var properties = this.properties;
|
||||
|
||||
if (!properties || !properties.length) {
|
||||
this.write('{}');
|
||||
codegen.write('{}');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user