Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 80 KiB |
@ -1,14 +0,0 @@
|
|||||||
#= require views/pages/base
|
|
||||||
|
|
||||||
class app.views.VuePage extends app.views.BasePage
|
|
||||||
afterRender: ->
|
|
||||||
for el in @findAllByTag('pre')
|
|
||||||
lang = if el.classList.contains('html') or el.textContent[0] is '<'
|
|
||||||
'markup'
|
|
||||||
else if el.classList.contains('css')
|
|
||||||
'css'
|
|
||||||
else
|
|
||||||
'javascript'
|
|
||||||
el.setAttribute('class', '')
|
|
||||||
@highlightCode el, lang
|
|
||||||
return
|
|
@ -0,0 +1,5 @@
|
|||||||
|
._vue {
|
||||||
|
@extend %simple;
|
||||||
|
|
||||||
|
p.tip { @extend %note; }
|
||||||
|
}
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 534 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.2 KiB |