amis-rpc-design/node_modules/monaco-editor/esm/vs/basic-languages/mips/mips.contribution.js
2023-10-07 19:42:30 +08:00

25 lines
865 B
JavaScript

/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
// src/basic-languages/mips/mips.contribution.ts
import { registerLanguage } from "../_.contribution.js";
registerLanguage({
id: "mips",
extensions: [".s"],
aliases: ["MIPS", "MIPS-V"],
mimetypes: ["text/x-mips", "text/mips", "text/plaintext"],
loader: () => {
if (false) {
return new Promise((resolve, reject) => {
__require(["vs/basic-languages/mips/mips"], resolve, reject);
});
} else {
return import("./mips.js");
}
}
});