20,741
edits
m (→The standalone Nasal interpreter: DENABLE_LIBSVN=OFF - http://flightgear.org/forums/viewtopic.php?f=30&t=19948&p=184615#p184615) |
|||
Line 90: | Line 90: | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
var tree = {}; | var tree = {}; | ||
var sanitize = func(p) { | |||
return p; # TODO: use a regex here to clean up strings i.e. trailing slashes, and property indices in the form of foo[b]/bar[n]/ | |||
} | |||
# wrappers for the FG setprop/getprop APIs: | # wrappers for the FG setprop/getprop APIs: |