mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-21 09:51:11 +00:00
Remove Explorer.isEmulator (#256)
This commit is contained in:
@@ -7,8 +7,7 @@ import { NotificationsClient } from "./NotificationsClient";
|
||||
export default class EmulatorExplorerFactory {
|
||||
public static createExplorer(): Explorer {
|
||||
const explorer: Explorer = new Explorer({
|
||||
notificationsClient: new NotificationsClient(),
|
||||
isEmulator: true
|
||||
notificationsClient: new NotificationsClient()
|
||||
});
|
||||
explorer.databaseAccount({
|
||||
name: "",
|
||||
|
||||
@@ -4,8 +4,7 @@ import { NotificationsClient } from "./NotificationsClient";
|
||||
export default class HostedExplorerFactory {
|
||||
public createExplorer(): Explorer {
|
||||
const explorer = new Explorer({
|
||||
notificationsClient: new NotificationsClient(),
|
||||
isEmulator: false
|
||||
notificationsClient: new NotificationsClient()
|
||||
});
|
||||
|
||||
return explorer;
|
||||
|
||||
@@ -4,8 +4,7 @@ import { NotificationsClient } from "./NotificationsClient";
|
||||
export default class PortalExplorerFactory {
|
||||
public createExplorer(): Explorer {
|
||||
var explorer = new Explorer({
|
||||
notificationsClient: new NotificationsClient(),
|
||||
isEmulator: false
|
||||
notificationsClient: new NotificationsClient()
|
||||
});
|
||||
|
||||
return explorer;
|
||||
|
||||
Reference in New Issue
Block a user