-
Notifications
You must be signed in to change notification settings - Fork 14
/
index.js
27 lines (25 loc) · 1.03 KB
/
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
var rendering = require('./rendering')
var render = require('./render')
var viewComponent = require('./viewComponent')
var deprecations = require('./deprecations')
exports.html = rendering.html
exports.html.refreshify = render.refreshify
exports.rawHtml = rendering.rawHtml
exports.jsx = rendering.jsx
exports.attach = rendering.attach
exports.replace = rendering.replace
exports.append = rendering.append
exports.appendVDom = rendering.appendVDom
exports.binding = require('./binding')
exports.meta = require('./meta')
exports.refreshify = render.refreshify
exports.norefresh = require('./refreshEventResult').norefresh
exports.join = require('./join')
exports.viewComponent = viewComponent
exports.component = function (model) {
deprecations.viewComponent('hyperdom.component is deprecated, use hyperdom.viewComponent instead')
return viewComponent(model)
}
exports.currentRender = render.currentRender
exports.RenderComponent = function () {} // placeholder for typescript
exports.RoutesComponent = function () {} // placeholder for typescript