Browse Source

Fixed missing separator after __properties__ (#6024)

Pieter Vantorre 8 years ago
parent
commit
50ef27303d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/generators/genjs.ml

+ 1 - 0
src/generators/genjs.ml

@@ -1104,6 +1104,7 @@ let generate_class ctx c =
 		| [] -> ()
 		| props ->
 			print ctx "%s.__properties__ = {%s}" p (gen_props props);
+			ctx.separator <- true;
 			newline ctx);
 	end;