Commit a108ec37 authored by Becca Hughes's avatar Becca Hughes Committed by Commit Bot

Move Kaleidoscope to be the top module

The other two modules are dummy modules and don't do
anything so it makes sense that Kaleidoscope should
be at the top so we can test it.

Change-Id: Idb9a77ef78234242ac86f97a9127ef4203d10e0e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2401862Reviewed-by: default avatarTibor Goldschwendt <tiborg@chromium.org>
Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org>
Auto-Submit: Becca Hughes <beccahughes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805519}
parent 09fb81f9
...@@ -14,10 +14,13 @@ import {ModuleDescriptor} from './module_descriptor.js'; ...@@ -14,10 +14,13 @@ import {ModuleDescriptor} from './module_descriptor.js';
import {ModuleRegistry} from './module_registry.js'; import {ModuleRegistry} from './module_registry.js';
/** @type {!Array<!ModuleDescriptor>} */ /** @type {!Array<!ModuleDescriptor>} */
const descriptors = [dummyDescriptor, dummyDescriptor2]; const descriptors = [];
if (loadTimeData.getBoolean('kaleidoscopeModuleEnabled')) { if (loadTimeData.getBoolean('kaleidoscopeModuleEnabled')) {
descriptors.push(kaleidoscopeDescriptor); descriptors.push(kaleidoscopeDescriptor);
} }
descriptors.push(dummyDescriptor);
descriptors.push(dummyDescriptor2);
ModuleRegistry.getInstance().registerModules(descriptors); ModuleRegistry.getInstance().registerModules(descriptors);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment