If I understand it well, then in the Lime code, the deepest-nested config file property-setting prevails.
So if I define a tile-property and config files as:
“p”:“a”
configFile: “b.json”
b.json:
“p”:“b”
configFiles: [“c.json”]
c.json:
“p”:“c”
then the property value for “p” is “c” in the running program after all is loaded.
I was expecting the opposite, meaning that higher-up defined props overwrite deeper ones.
My understanding is that the use of config files is to provide generalization - objects can share common settings. You should be able to overwrite properties in a specialized fashion, like the property defined on the tile itself should overwrite the more general defined one in a config file.
Did I misunderstand?
If so, how are the nested config files used?
Thanks, Frank.
[import]uid: 8093 topic_id: 6732 reply_id: 306732[/import]