Showing the changes to assets/javascripts (2 of 9 files). Show all
Unified · Split
| @@ -1,6 +1,9 @@ | ||
| 1 | 1 | #= require views/pages/base |
| 2 | 2 | |
| 3 | 3 | class app.views.GithubPage extends app.views.BasePage |
| 4 | + LANGUAGE_RGX = /highlight-source-(\w+)/ | |
| 5 | + | |
| 4 | 6 | prepare: -> |
| 5 | − @highlightCode @findAll('pre.highlight-source-lua'), 'lua' | |
| 7 | + for el in @findAll('pre.highlight') | |
| 8 | + @highlightCode(el, el.className.match(LANGUAGE_RGX)[1]) | |
| 6 | 9 | return |
| @@ -26,7 +26,6 @@ app.views.MomentPage = · 25 unmodified lines | ||
| 26 | 26 | app.views.MongoosePage = |
| 27 | 27 | app.views.NodePage = |
| 28 | 28 | app.views.PhaserPage = |
| 29 | −app.views.QPage = | |
| 30 | 29 | app.views.RamdaPage = |
| 31 | 30 | app.views.RethinkdbPage = |
| 32 | 31 | app.views.SinonPage = |