diff --git a/documentation/v1/code.coffee b/documentation/v1/code.coffee index ce49af41..6bd884a5 100644 --- a/documentation/v1/code.coffee +++ b/documentation/v1/code.coffee @@ -13,10 +13,6 @@ module.exports = -> js = js.replace /^\/\/ generated.*?\n/i, '' cshtml = "
#{hljs.highlight('coffeescript', cs).value}
"
- # Temporary fix until highlight.js adds support for newer CoffeeScript keywords
- # Added in https://github.com/isagalaev/highlight.js/pull/1357, awaiting release
- if file in ['generator_iteration', 'generators', 'modules']
- cshtml = cshtml.replace /(yield|import|export|from|as|default) /g, '$1 '
jshtml = "#{hljs.highlight('javascript', js).value}
"
append = if executable is yes then '' else "alert(#{executable});".replace /"/g, '"'
if executable and executable isnt yes
diff --git a/package.json b/package.json
index cfab9880..5b16fdf1 100644
--- a/package.json
+++ b/package.json
@@ -40,8 +40,8 @@
},
"devDependencies": {
"docco": "~0.7.0",
- "google-closure-compiler-js": "^20161024.0.0",
- "highlight.js": "~9.8.0",
+ "google-closure-compiler-js": "^20161201.0.0",
+ "highlight.js": "~9.9.0",
"jison": ">=0.4.17",
"marked": "^0.3.6",
"underscore": "~1.8.3"