UNPKG

@quick-game/cli

Version:

Command line interface for rapid qg development

24 lines 905 B
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import * as UI from '../../ui/legacy/legacy.js'; let loadedConsoleCountersModule; async function loadConsoleCountersModule() { if (!loadedConsoleCountersModule) { loadedConsoleCountersModule = await import('./console_counters.js'); } return loadedConsoleCountersModule; } UI.Toolbar.registerToolbarItem({ async loadItem() { const ConsoleCounters = await loadConsoleCountersModule(); return ConsoleCounters.WarningErrorCounter.WarningErrorCounter.instance(); }, order: 1, location: UI.Toolbar.ToolbarItemLocation.MAIN_TOOLBAR_RIGHT, showLabel: undefined, condition: undefined, separator: undefined, actionId: undefined, }); //# sourceMappingURL=console_counters-meta.js.map