-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
36 lines (33 loc) · 899 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
const Element = require('./src/element');
const builder = require('./src/builder');
const config = require('./src/config');
const constants = require('./src/constants');
const dom = require('./src/dom');
const events = require('./src/events');
const generateId = require('./src/generate_id');
const htmlEncode = require('./src/html_encode');
const operations = require('./src/operations');
const ready = require('./src/ready');
const renderElement = require('./src/render_element');
const renderString = require('./src/render_string');
const scheduler = require('./src/scheduler');
const svg = require('./src/svg');
// Expose the forceUpdate function.
const forceUpdate = builder.forceUpdate;
module.exports = {
Element,
builder,
config,
constants,
dom,
events,
forceUpdate,
generateId,
htmlEncode,
operations,
ready,
renderElement,
renderString,
scheduler,
svg,
};