hallvard
10/15/2018, 7:22 AMactual
implementations in js need to have the same package names as in jvm? I have some simple data classes, and accessing them in jvm is a matter of using an import statement in the top of the file and then going directly at them by name, but in the js file I have compiled, it seems I have to go the long way with com.company.project.dataclass
names. Should I just define aliases right away when $(document).ready()
?gildor
10/15/2018, 7:34 AMhallvard
10/15/2018, 7:37 AMgildor
10/15/2018, 7:40 AMhallvard
10/15/2018, 7:52 AMKeys.someKey
to Values.someValue
. (I also have some functions to construct json objects according to certain constraints, but the irritating part was mainly having to write com.company.project.Keys.somekey
instead of just Keys.someKey
.)