-
Notifications
You must be signed in to change notification settings - Fork 4
/
template.cirru
36 lines (32 loc) · 1016 Bytes
/
template.cirru
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
var
stir $ require :stir-template
var
(object~ html head title body meta script link div a span) stir
var
line $ \ (text)
return $ div null text
= module.exports $ \ (data)
return $ stir.render
stir.doctype
html null
head null
title null ":Textbox"
meta $ object (:charset :utf-8)
link $ object (:rel :icon)
:href :http://tp4.sinaimg.cn/5592259015/180/5725970590/1
link $ object (:rel :stylesheet)
:href :src/main.css
script $ object (:src data.vendor) (:defer true)
script $ object (:src data.main) (:defer true)
body null
div
object (:class :intro)
div ({} (:class :title)) ":This is a demo of Textbox."
div null
span null ":Read more at "
a
object (:href :http://github.com/teambition/react-lite-textbox)
, :github.com/teambition/react-lite-textbox
span null :.
div
object (:class :demo)