joostn/OpenJsCad — pull request #30 by v01pe (2013-08-02 23:36:04+00:00)
Title: Implemented support for 'initial' in getParameterDefinitions extended to...

... all supported types.

- The varialbe named initial is assigned to the value of paramdef.initial if it's defined,
- otherwise paramdef["default'] is used.
- If both aren't defined, then the variable initial stays undefined.
The initial/default value is applied if the variable is NOT undefined (!== undefined)