Showing the changes to assets/javascripts/views (2 of 6 files). Show all
Unified · Split
| @@ -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 = |