Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "use strict";
- // A helper function to handle async/await behavior
- var __awaiter = this && this.__awaiter || function (thisArg, _arguments, PromiseConstructor, generator) {
- function adopt(value) {
- return value instanceof PromiseConstructor
- ? value
- : new PromiseConstructor(function (resolve) { resolve(value); });
- }
- return new (PromiseConstructor || (PromiseConstructor = Promise))(function (resolve, reject) {
- function fulfilled(value) {
- try {
- step(generator.next(value));
- } catch (error) {
- reject(error);
- }
- }
- function rejected(value) {
- try {
- step(generator.throw(value));
- } catch (error) {
- reject(error);
- }
- }
- function step(result) {
- result.done
- ? resolve(result.value)
- : adopt(result.value).then(fulfilled, rejected);
- }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
- };
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.installationMessage = exports.MESSAGES = void 0;
- const vscode = require("vscode");
- // Exported messages for the extension
- exports.MESSAGES = {
- CHANGELOG: {
- message: "Material Theme was updated. Check the release notes for more details.",
- options: { ok: "Show me", cancel: "Maybe later" }
- },
- INSTALLATION: {
- message: "Thank you for using Material Theme!"
- }
- };
- // An asynchronous function to display the installation message
- const installationMessage = () => __awaiter(undefined, undefined, undefined, function* () {
- return vscode.window.showInformationMessage(exports.MESSAGES.INSTALLATION.message);
- });
- exports.installationMessage = installationMessage;
Advertisement
Add Comment
Please, Sign In to add comment