User:Johan G/Nested boxes and syntax highlighting

From FlightGear wiki
Jump to navigation Jump to search

Nested boxes and syntax highlighting/test template

 # declare a method named setFoo
  setFoo: func(value) {
   # do your processing here
   me.value=value; 
  },

{{User:Johan G/Nested boxes and syntax highlighting/test template}}

 # declare a method named getFoo
  getFoo: func() {
   # do your processing here
   return me.value; 
  },