2020-05-26 03:30:55 +01:00
|
|
|
import * as ko from "knockout";
|
2021-05-19 05:41:44 +01:00
|
|
|
import { BindingHandlersRegisterer } from "./Bindings/BindingHandlersRegisterer";
|
2020-07-20 18:59:40 +01:00
|
|
|
import Explorer from "./Explorer/Explorer";
|
2020-05-26 03:30:55 +01:00
|
|
|
|
|
|
|
export const applyExplorerBindings = (explorer: Explorer) => {
|
|
|
|
if (!!explorer) {
|
|
|
|
window.dataExplorer = explorer;
|
|
|
|
BindingHandlersRegisterer.registerBindingHandlers();
|
2020-11-13 02:10:59 +00:00
|
|
|
ko.applyBindings(explorer);
|
2020-05-26 03:30:55 +01:00
|
|
|
}
|
|
|
|
};
|