twig.contribution.js 857 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: 'twig',
  10. extensions: ['.twig'],
  11. aliases: ['Twig', 'twig'],
  12. mimetypes: ['text/x-twig'],
  13. loader: function () { return new Promise(function (resolve_1, reject_1) { require(['./twig'], resolve_1, reject_1); }); }
  14. });
  15. });