From 06c48a7281d5728ad9f46185330be6e2ada29334 Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Mon, 26 Jun 2017 15:41:04 +0800 Subject: [PATCH] Website - Jade should be Pug. Fixes #13 --- test/samples-all.generated.js | 4 ++-- test/samples/{sample.jade.txt => sample.pug.txt} | 4 ++-- test/tokenization.html | 2 +- test/tokenization.js | 16 ++++++++-------- website/index.html | 2 +- .../samples/{sample.jade.txt => sample.pug.txt} | 4 ++-- 6 files changed, 16 insertions(+), 16 deletions(-) rename test/samples/{sample.jade.txt => sample.pug.txt} (81%) rename website/index/samples/{sample.jade.txt => sample.pug.txt} (81%) diff --git a/test/samples-all.generated.js b/test/samples-all.generated.js index 6eb9035c..36f3e69d 100644 --- a/test/samples-all.generated.js +++ b/test/samples-all.generated.js @@ -101,8 +101,8 @@ define([], function() { return[ "content": "# Example of a .gitconfig file\r\n\r\n[core]\r\n\trepositoryformatversion = 0\r\n\tfilemode = false\r\n\tbare = false\r\n\tlogallrefupdates = true\r\n\tsymlinks = false\r\n\tignorecase = true\r\n\thideDotFiles = dotGitOnly\r\n\r\n# Defines the master branch\r\n[branch \"master\"]\r\n\tremote = origin\r\n\tmerge = refs/heads/master\r\n" }, { - "name": "sample.jade.txt", - "content": "doctype 5\nhtml(lang=\"en\")\n head\n title= pageTitle\n script(type='text/javascript')\n if (foo) {\n bar()\n }\n body\n // Disclaimer: You will need to turn insertSpaces to true in order for the\n syntax highlighting to kick in properly (especially for comments)\n Enjoy :)\n h1 Jade - node template engine\n #container\n if youAreUsingJade\n p You are amazing\n else\n p Get on it!" + "name": "sample.pug.txt", + "content": "doctype 5\nhtml(lang=\"en\")\n head\n title= pageTitle\n script(type='text/javascript')\n if (foo) {\n bar()\n }\n body\n // Disclaimer: You will need to turn insertSpaces to true in order for the\n syntax highlighting to kick in properly (especially for comments)\n Enjoy :)\n h1 Pug - node template engine\n #container\n if youAreUsingPug\n p You are amazing\n else\n p Get on it!" }, { "name": "sample.java.txt", diff --git a/test/samples/sample.jade.txt b/test/samples/sample.pug.txt similarity index 81% rename from test/samples/sample.jade.txt rename to test/samples/sample.pug.txt index 09410968..f5d6ca40 100644 --- a/test/samples/sample.jade.txt +++ b/test/samples/sample.pug.txt @@ -10,9 +10,9 @@ html(lang="en") // Disclaimer: You will need to turn insertSpaces to true in order for the syntax highlighting to kick in properly (especially for comments) Enjoy :) - h1 Jade - node template engine + h1 Pug - node template engine #container - if youAreUsingJade + if youAreUsingPug p You are amazing else p Get on it! \ No newline at end of file diff --git a/test/tokenization.html b/test/tokenization.html index 77f13e4f..e154d15a 100644 --- a/test/tokenization.html +++ b/test/tokenization.html @@ -26,7 +26,7 @@ 'vs/basic-languages/src/handlebars', 'vs/basic-languages/src/html', 'vs/basic-languages/src/ini', - 'vs/basic-languages/src/jade', + 'vs/basic-languages/src/pug', 'vs/basic-languages/src/java', 'vs/basic-languages/src/lua', 'vs/basic-languages/src/markdown', diff --git a/test/tokenization.js b/test/tokenization.js index 1cea1747..ba7c81c2 100644 --- a/test/tokenization.js +++ b/test/tokenization.js @@ -92098,8 +92098,8 @@ window.EXPECTED = [ } }, { - "name": "sample - jade", - "language": "jade", + "name": "sample - pug", + "language": "pug", "result": { "vs": [ [ @@ -92288,7 +92288,7 @@ window.EXPECTED = [ "color": "#800000" }, { - "text": " Jade - node template engine", + "text": "Pug- node template engine", "color": "#000000" } ], @@ -92312,7 +92312,7 @@ window.EXPECTED = [ "color": "#0000ff" }, { - "text": " youAreUsingJade", + "text": " youAreUsingPug", "color": "#000000" } ], @@ -92542,7 +92542,7 @@ window.EXPECTED = [ "color": "#569cd6" }, { - "text": " Jade - node template engine", + "text": " Pug - node template engine", "color": "#d4d4d4" } ], @@ -92566,7 +92566,7 @@ window.EXPECTED = [ "color": "#569cd6" }, { - "text": " youAreUsingJade", + "text": " youAreUsingPug", "color": "#d4d4d4" } ], @@ -92796,7 +92796,7 @@ window.EXPECTED = [ "color": "#569cd6" }, { - "text": " Jade - node template engine", + "text": " Pug - node template engine", "color": "#ffffff" } ], @@ -92820,7 +92820,7 @@ window.EXPECTED = [ "color": "#569cd6" }, { - "text": " youAreUsingJade", + "text": " youAreUsingPug", "color": "#ffffff" } ], diff --git a/website/index.html b/website/index.html index 2daa790d..ef43c15a 100644 --- a/website/index.html +++ b/website/index.html @@ -84,7 +84,7 @@

TypeScript, JavaScript, CSS, LESS, SCSS, JSON, HTML


Basic Syntax Colorization

-

XML, PHP, C#, C++, Razor, Markdown, Diff, Java, VB, CoffeeScript, Handlebars, Batch, Jade, F#, Lua, Powershell, +

XML, PHP, C#, C++, Razor, Markdown, Diff, Java, VB, CoffeeScript, Handlebars, Batch, Pug, F#, Lua, Powershell, Python, SASS, R, Objective-C


Colorizers are implemented using