Showing the changes to assets/javascripts (3 of 6 files). Show all
Unified · Split
| @@ -210,7 +210,7 @@ credits = [ · 209 unmodified lines | |||
| 210 | 'https://raw.githubusercontent.com/docker/docker/master/LICENSE' | 210 | 'https://raw.githubusercontent.com/docker/docker/master/LICENSE' |
| 211 | ], [ | 211 | ], [ |
| 212 | 'Dojo', | 212 | 'Dojo', |
| 213 | '2005-2015 The Dojo Foundation', | 213 | '2005-2017 JS Foundation', |
| 214 | 'BSD + AFL', | 214 | 'BSD + AFL', |
| 215 | 'http://dojotoolkit.org/license.html' | 215 | 'http://dojotoolkit.org/license.html' |
| 216 | ], [ | 216 | ], [ |
| @@ -1,14 +0,0 @@ | |||
| 1 | #= require views/pages/base | ||
| 2 | |||
| 3 | class app.views.JavascriptWithMarkupCheckPage extends app.views.BasePage | ||
| 4 | prepare: -> | ||
| 5 | for el in @findAllByTag('pre') | ||
| 6 | language = if el.textContent.match(/^\s*</) | ||
| 7 | 'markup' | ||
| 8 | else | ||
| 9 | 'javascript' | ||
| 10 | @highlightCode el, language | ||
| 11 | return | ||
| 12 | |||
| 13 | app.views.DojoPage = | ||
| 14 | app.views.JavascriptWithMarkupCheckPage | ||
| @@ -21,6 +21,7 @@ app.views.CordovaPage = · 20 unmodified lines | |||
| 21 | app.views.CrystalPage = | 21 | app.views.CrystalPage = |
| 22 | app.views.D3Page = | 22 | app.views.D3Page = |
| 23 | app.views.DockerPage = | 23 | app.views.DockerPage = |
| 24 | app.views.DojoPage = | ||
| 24 | app.views.DrupalPage = | 25 | app.views.DrupalPage = |
| 25 | app.views.ElectronPage = | 26 | app.views.ElectronPage = |
| 26 | app.views.ElixirPage = | 27 | app.views.ElixirPage = |