Showing the changes to assets/javascripts (2 of 4 files). Show all
Unified · Split
| @@ -1,9 +0,0 @@ | ||
| 1 | −#= require views/pages/base | |
| 2 | − | |
| 3 | −class app.views.ReactPage extends app.views.BasePage | |
| 4 | − prepare: -> | |
| 5 | − for el in @findAllByTag 'pre' | |
| 6 | − switch el.getAttribute('data-lang') | |
| 7 | − when 'html' then @highlightCode el, 'markup' | |
| 8 | − when 'javascript', 'js' then @highlightCode el, 'javascript' | |
| 9 | − return | |
| @@ -7,6 +7,7 @@ class app.views.SimplePage extends app.views.BasePage · 6 unmodified lines | ||
| 7 | 7 | return |
| 8 | 8 | |
| 9 | 9 | app.views.MeteorPage = |
| 10 | +app.views.ReactPage = | |
| 10 | 11 | app.views.RethinkdbPage = |
| 11 | 12 | app.views.TypescriptPage = |
| 12 | 13 | app.views.SimplePage |