Skip to content

Commit 25f43c3

Browse files
committed
group Jsx modules
Creates a top-level module for `Jsx`. It contains the following submodules: - `Jsx.DOMStyle` - `Jsx.Event` - `Jsx.DOM` Deprecate `JsxDOM.res`, `JsxDOMStyle` and `JsxEvent` `JsxDOM.res` code has been duplicated to avoid cyclic dependency. With these changes we can have a section in the sidebar menu for the `Jsx` module containing `DOM`, `DOMStyle` and `Event`
1 parent 890ace4 commit 25f43c3

File tree

10 files changed

+656
-12
lines changed

10 files changed

+656
-12
lines changed

lib/es6/Jsx.js

+15-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1-
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */
1+
2+
3+
4+
let DOM = {};
5+
6+
let DOMStyle;
7+
8+
let Event;
9+
10+
export {
11+
DOMStyle,
12+
Event,
13+
DOM,
14+
}
15+
/* No side effect */

lib/js/Jsx.js

+13-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
1-
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */
1+
'use strict';
2+
3+
4+
let DOM = {};
5+
6+
let DOMStyle;
7+
8+
let Event;
9+
10+
exports.DOMStyle = DOMStyle;
11+
exports.Event = Event;
12+
exports.DOM = DOM;
13+
/* No side effect */

0 commit comments

Comments
 (0)