Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Commit

Permalink
Website - Jade should be Pug. Fixes microsoft/monaco-editor#13
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli committed Jun 26, 2017
1 parent 3e7008e commit ecfce90
Show file tree
Hide file tree
Showing 7 changed files with 440 additions and 440 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ Colorization and configuration supports for multiple languages for the Monaco Ed
* handlebars
* html
* ini
* jade
* lua
* objective-c
* postiats
* php
* powershell
* pug
* python
* r
* razor
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ gulp.task('release', ['clean-release','compile'], function() {
bundleOne('src/handlebars'),
bundleOne('src/html'),
bundleOne('src/ini'),
bundleOne('src/jade'),
bundleOne('src/pug'),
bundleOne('src/java'),
bundleOne('src/less'),
bundleOne('src/lua'),
Expand Down
6 changes: 3 additions & 3 deletions src/monaco.contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ registerLanguage({
module: './ini'
});
registerLanguage({
id: 'jade',
id: 'pug',
extensions: ['.jade', '.pug'],
aliases: ['Jade', 'jade'],
module: './jade'
aliases: ['Pug', 'Jade', 'jade'],
module: './pug'
});
registerLanguage({
id: 'java',
Expand Down
2 changes: 1 addition & 1 deletion src/jade.ts → src/pug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const conf: IRichLanguageConfiguration = {

export const language = <ILanguage>{
defaultToken: '',
tokenPostfix: '.jade',
tokenPostfix: '.pug',

ignoreCase: true,

Expand Down
2 changes: 1 addition & 1 deletion test/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ requirejs([
'out/test/go.test',
'out/test/handlebars.test',
'out/test/html.test',
'out/test/jade.test',
'out/test/pug.test',
'out/test/java.test',
'out/test/less.test',
'out/test/lua.test',
Expand Down
Loading

0 comments on commit ecfce90

Please sign in to comment.