Fixed closure compiler incompatibility (#6365)

This commit is contained in:
Yuriy Glukhov 2017-09-11 18:29:59 +03:00 • committed by Andreas Rumpf
commit c35cc97b1e

View file

@ -1284,7 +1284,7 @@ else:
result.add(x[i].convertObject()) result.add(x[i].convertObject())
of JObject: of JObject:
result = newJObject() result = newJObject()
asm """for (property in `x`) { asm """for (var property in `x`) {
if (`x`.hasOwnProperty(property)) { if (`x`.hasOwnProperty(property)) {
""" """
var nimProperty: cstring var nimProperty: cstring