mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-01 15:22:08 +00:00
Initial Move from Azure DevOps to GitHub
This commit is contained in:
11
src/Platform/Portal/Main.ts
Normal file
11
src/Platform/Portal/Main.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import * as ViewModels from "../../Contracts/ViewModels";
|
||||
import PortalExplorerFactory from "./ExplorerFactory";
|
||||
import "../../Explorer/Tables/DataTable/DataTableBindingManager";
|
||||
|
||||
export function initializeExplorer(): ViewModels.Explorer {
|
||||
const portalExplorerFactory = new PortalExplorerFactory();
|
||||
const explorer = portalExplorerFactory.createExplorer();
|
||||
|
||||
window.addEventListener("message", explorer.handleMessage.bind(explorer), false);
|
||||
return explorer;
|
||||
}
|
||||
Reference in New Issue
Block a user