diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-10-04 11:50:26 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-10-04 11:50:26 +0200 |
commit | 133a8c672c26609e9d56d4e184b779ca26971a8c (patch) | |
tree | f3aa4779a75279c95553cd68dd2a3bbe5e5b9dde /thirdparty/preact/src/options.js | |
parent | 0697c987c5314232056a86fa128b518c866d2f12 (diff) | |
parent | 30b577138dda685f65a8529be1866afa6e321845 (diff) |
Merge commit '30b577138dda685f65a8529be1866afa6e321845' as 'thirdparty/preact'
Diffstat (limited to 'thirdparty/preact/src/options.js')
-rw-r--r-- | thirdparty/preact/src/options.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/thirdparty/preact/src/options.js b/thirdparty/preact/src/options.js new file mode 100644 index 000000000..35b7418fc --- /dev/null +++ b/thirdparty/preact/src/options.js @@ -0,0 +1,18 @@ +/** Global options + * @public + * @namespace options {Object} + */ +export default { + + /** If `true`, `prop` changes trigger synchronous component updates. + * @name syncComponentUpdates + * @type Boolean + * @default true + */ + //syncComponentUpdates: true, + + /** Processes all created VNodes. + * @param {VNode} vnode A newly-created VNode to normalize/process + */ + //vnode(vnode) { } +}; |