UNPKG

delta-component

Version:

embeddable react component

23 lines (19 loc) 723 B
'use strict'; const bindings = require('./logic/debug/main'); const network = require('./logic/debug/websockets'); const rebalance = require('./logic/debug/rebalance'); const diff = require('./logic/debug/diff'); const unload = require('./logic/debug/unload'); const changeParams = require('./logic/debug/changeParams'); const history = require('./logic/debug/historyClientDebug'); function main(window) { bindings.bindFromObject(window, network); bindings.bindFromObject(window, rebalance); bindings.bindFromObject(window, diff); bindings.bindFromObject(window, unload); bindings.bindFromObject(window, changeParams); bindings.bindFromObject(window, history); } if(window) { main(window); }