Showing the changes to assets/javascripts (2 of 9 files). Show all
Unified · Split
| @@ -1,6 +1,9 @@ | |||
| 1 | #= require views/pages/base | 1 | #= require views/pages/base |
| 2 | 2 | ||
| 3 | class app.views.GithubPage extends app.views.BasePage | 3 | class app.views.GithubPage extends app.views.BasePage |
| 4 | LANGUAGE_RGX = /highlight-source-(\w+)/ | ||
| 5 | |||
| 4 | prepare: -> | 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 | return | 9 | return |
| @@ -26,7 +26,6 @@ app.views.MomentPage = · 25 unmodified lines | |||
| 26 | app.views.MongoosePage = | 26 | app.views.MongoosePage = |
| 27 | app.views.NodePage = | 27 | app.views.NodePage = |
| 28 | app.views.PhaserPage = | 28 | app.views.PhaserPage = |
| 29 | app.views.QPage = | ||
| 30 | app.views.RamdaPage = | 29 | app.views.RamdaPage = |
| 31 | app.views.RethinkdbPage = | 30 | app.views.RethinkdbPage = |
| 32 | app.views.SinonPage = | 31 | app.views.SinonPage = |