Following code:
(set! (.. e -target -dataset -some-field) "some-value")
is compiled into:
return a.target.dataset.Qh=Yf(b)
some_field is compressed into Qh. And I need it to be exactly some_field.
I understand this is due to compression optimization. But is there a way to hint, or to bypass this behavior?
PS: simple optimization gives the desired output
return a.target.dataset.some_field=cljs.core.name.call(null,b)}

goog.object/setfor setting object fields; also you can add the dataset's structure to the externs file. However, both approaches seem overly verbose / complicated; I will be happy to know if there is a simpler recommended solution. - Aleph Aleph-some_fieldinstead of-some-field. - exuperogoog- fl00r