html.contribution.js 996 B

123456789101112131415
  1. define(["require", "exports", "../_.contribution"], function (require, exports, __contribution_1) {
  2. /*---------------------------------------------------------------------------------------------
  3. * Copyright (c) Microsoft Corporation. All rights reserved.
  4. * Licensed under the MIT License. See License.txt in the project root for license information.
  5. *--------------------------------------------------------------------------------------------*/
  6. 'use strict';
  7. Object.defineProperty(exports, "__esModule", { value: true });
  8. __contribution_1.registerLanguage({
  9. id: 'html',
  10. extensions: ['.html', '.htm', '.shtml', '.xhtml', '.mdoc', '.jsp', '.asp', '.aspx', '.jshtm'],
  11. aliases: ['HTML', 'htm', 'html', 'xhtml'],
  12. mimetypes: ['text/html', 'text/x-jshtm', 'text/template', 'text/ng-template'],
  13. loader: function () { return new Promise(function (resolve_1, reject_1) { require(['./html'], resolve_1, reject_1); }); }
  14. });
  15. });