Showing the changes to assets/javascripts (4 of 6 files). Show all
Unified · Split
| @@ -297,7 +297,7 @@ credits = [ · 296 unmodified lines | ||
| 297 | 297 | 'https://raw.githubusercontent.com/mochajs/mocha/master/LICENSE' |
| 298 | 298 | ], [ |
| 299 | 299 | 'Modernizr', |
| 300 | − '2009-2014 Modernizr', | |
| 300 | + '2009-2016 The Modernizr team', | |
| 301 | 301 | 'MIT', |
| 302 | 302 | 'https://modernizr.com/license/' |
| 303 | 303 | ], [ |
| @@ -1,4 +1,4 @@ | ||
| 1 | −/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+c+cpp+coffeescript+ruby+elixir+go+lua+nginx+perl+php+python+rust+sql+typescript */ | |
| 1 | +/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+c+cpp+coffeescript+ruby+elixir+go+json+lua+nginx+perl+php+python+rust+sql+typescript */ | |
| 2 | 2 | var _self = (typeof window !== 'undefined') |
| 3 | 3 | ? window // if in browser |
| 4 | 4 | : ( |
| @@ -1006,6 +1006,18 @@ Prism.languages.go = Prism.languages.extend('clike', { · 1001 unmodified lines | ||
| 1006 | 1006 | }); |
| 1007 | 1007 | delete Prism.languages.go['class-name']; |
| 1008 | 1008 | |
| 1009 | +Prism.languages.json = { | |
| 1010 | + 'property': /".*?"(?=\s*:)/ig, | |
| 1011 | + 'string': /"(?!:)(\\?[^"])*?"(?!:)/g, | |
| 1012 | + 'number': /\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?)\b/g, | |
| 1013 | + 'punctuation': /[{}[\]);,]/g, | |
| 1014 | + 'operator': /:/g, | |
| 1015 | + 'boolean': /\b(true|false)\b/gi, | |
| 1016 | + 'null': /\bnull\b/gi, | |
| 1017 | +}; | |
| 1018 | + | |
| 1019 | +Prism.languages.jsonp = Prism.languages.json; | |
| 1020 | + | |
| 1009 | 1021 | Prism.languages.lua = { |
| 1010 | 1022 | 'comment': /^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m, |
| 1011 | 1023 | // \z may be used to skip the following space |
| @@ -20,7 +20,6 @@ app.views.GruntPage = · 19 unmodified lines | ||
| 20 | 20 | app.views.LodashPage = |
| 21 | 21 | app.views.MarionettePage = |
| 22 | 22 | app.views.MochaPage = |
| 23 | −app.views.ModernizrPage = | |
| 24 | 23 | app.views.MongoosePage = |
| 25 | 24 | app.views.SinonPage = |
| 26 | 25 | app.views.JavascriptPage |
| @@ -11,6 +11,7 @@ app.views.EmberPage = · 10 unmodified lines | ||
| 11 | 11 | app.views.ExpressPage = |
| 12 | 12 | app.views.GoPage = |
| 13 | 13 | app.views.MeteorPage = |
| 14 | +app.views.ModernizrPage = | |
| 14 | 15 | app.views.MomentPage = |
| 15 | 16 | app.views.NodePage = |
| 16 | 17 | app.views.PerlPage = |