Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
actual config format
03-09-2011, 07:30 PM,
#5
 
NaN Wrote:The dot in the section name is simply a separator to denote the object hierarchy. I am not so fit with javascript. Are you trying to evaluate section names?
Yes.
dotcar is a JS object (by prototypejs):
Code:
dotcar.wheel_fl_brake.area
works
Code:
dotcar.wheel.fl.brake.area
doesn´t work
It´s not a severe problem for me, the workaround was simple.
But it demonstrates, that a name (string) is not a hierarchy. Point syntax is often used for this, so another character may be better for a "flat" section name, "_" or ":".
Reply


Messages In This Thread
actual config format - by cologne - 03-03-2011, 06:59 PM
[No subject] - by NaN - 03-03-2011, 09:02 PM
[No subject] - by cologne - 03-08-2011, 05:00 PM
[No subject] - by NaN - 03-09-2011, 01:12 PM
[No subject] - by cologne - 03-09-2011, 07:30 PM
[No subject] - by NaN - 03-10-2011, 09:18 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)