Showing the changes to assets/javascripts (2 of 4 files). Show all
Unified · Split
| @@ -1,11 +0,0 @@ | ||
| 1 | −#= require views/pages/base | |
| 2 | − | |
| 3 | −class app.views.EmberPage extends app.views.BasePage | |
| 4 | − prepare: -> | |
| 5 | − for el in @findAllByTag 'pre' | |
| 6 | − language = if el.classList.contains 'javascript' | |
| 7 | − 'javascript' | |
| 8 | − else if el.classList.contains 'html' | |
| 9 | − 'markup' | |
| 10 | − @highlightCode el, language if language | |
| 11 | − return | |
| @@ -6,6 +6,7 @@ class app.views.SimplePage extends app.views.BasePage · 5 unmodified lines | ||
| 6 | 6 | @highlightCode el, el.getAttribute('data-language') |
| 7 | 7 | return |
| 8 | 8 | |
| 9 | +app.views.EmberPage = | |
| 9 | 10 | app.views.GoPage = |
| 10 | 11 | app.views.MeteorPage = |
| 11 | 12 | app.views.RamdaPage = |