Commit Graph
3 Commits
Author SHA1 Message Date
Rowan Wyborn 2395890268 fix trailing whitespace 2015-12-18 22:25:23 +11:00
Rowan Wyborn 9d11f2b3ce Merge branch 'master' into react-factory-option 2015-12-18 21:57:38 +11:00
Rowan Wyborn b7f60704bb Initial check in - Support other JSX factories Issue #3788
- added jsxNamespace compile option
- when jsx mode is "react", jsxNamespace optionally specifies the emit namespace for React calls, eg "--jsxNamespace MyDOMLib" will emit calls as MyDOMLib.createElement (instead of React.createElement)
- symbol specified by jsxNamespace must be present, else compile error is generated (same handling as is done for React symbol when no jsxNamespace is specified)
2015-12-18 21:56:08 +11:00