Marko v3: Fix for empty ObjectExpression

This commit is contained in:
Patrick Steele-Idem 2016-02-08 22:40:58 -07:00
parent e576718d11
commit b7f8f2f3f1

View File

@ -12,7 +12,7 @@ class ObjectExpression extends Node {
var properties = this.properties;
if (!properties || !properties.length) {
this.write('{}');
codegen.write('{}');
return;
}