File tree Expand file tree Collapse file tree 10 files changed +194
-39
lines changed Expand file tree Collapse file tree 10 files changed +194
-39
lines changed Original file line number Diff line number Diff line change
1
+ source :rubygems
2
+
3
+ group :development do
4
+ gem "RedCloth" , "~> 4.2"
5
+ gem "foreman" , "~> 0.13"
6
+ gem "serve" , "~> 1.0"
7
+ gem "jekyll" , "~> 0.10"
8
+ gem "thin" , "~> 1.2"
9
+ end
Original file line number Diff line number Diff line change
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ RedCloth (4.2.7 )
5
+ activesupport (3.0.7 )
6
+ classifier (1.3.3 )
7
+ fast-stemmer (>= 1.0.0 )
8
+ daemons (1.1.3 )
9
+ directory_watcher (1.4.0 )
10
+ eventmachine (0.12.10 )
11
+ fast-stemmer (1.0.0 )
12
+ foreman (0.13.0 )
13
+ term-ansicolor (~> 1.0.5 )
14
+ thor (>= 0.13.6 )
15
+ i18n (0.4.2 )
16
+ jekyll (0.10.0 )
17
+ classifier (>= 1.3.1 )
18
+ directory_watcher (>= 1.1.1 )
19
+ liquid (>= 1.9.0 )
20
+ maruku (>= 0.5.9 )
21
+ liquid (2.2.2 )
22
+ maruku (0.6.0 )
23
+ syntax (>= 1.0.0 )
24
+ rack (1.2.2 )
25
+ serve (1.0.0 )
26
+ activesupport (~> 3.0.1 )
27
+ i18n (~> 0.4.1 )
28
+ rack (~> 1.2.1 )
29
+ tzinfo (~> 0.3.23 )
30
+ syntax (1.0.0 )
31
+ term-ansicolor (1.0.5 )
32
+ thin (1.2.11 )
33
+ daemons (>= 1.0.9 )
34
+ eventmachine (>= 0.12.6 )
35
+ rack (>= 1.0.0 )
36
+ thor (0.14.6 )
37
+ tzinfo (0.3.27 )
38
+
39
+ PLATFORMS
40
+ ruby
41
+
42
+ DEPENDENCIES
43
+ RedCloth (~> 4.2 )
44
+ foreman (~> 0.13 )
45
+ jekyll (~> 0.10 )
46
+ serve (~> 1.0 )
47
+ thin (~> 1.2 )
Original file line number Diff line number Diff line change
1
+ jekyll : bundle exec jekyll --auto
2
+ serve : bundle exec serve 4000 development _site
Original file line number Diff line number Diff line change 5
5
- CNAME
6
6
- TODO.textile
7
7
- script
8
+ - Procfile
9
+ - Gemfile
10
+ - Gemfile.lock
8
11
9
12
Original file line number Diff line number Diff line change 5
5
< link rel ="stylesheet " href ="/css/default.css " type ="text/css ">
6
6
</ head >
7
7
< body >
8
- < div class ="header ">
9
- < h1 > < a href ="/ "> CoffeeScript Cookbook</ a > </ h1 >
10
- < a href ="/chapters "> Chapter Index</ a > |
11
- < a href ="/contributing "> Contributing</ a > |
12
- < a href ="/authors "> Authors</ a > |
13
- < a href ="/license "> License</ a >
14
- </ div >
15
-
16
- < h1 > Chapter: {{ page.title }}</ h1 >
17
-
18
- {{ content }}
19
- < hr />
20
- < p > Don't see the recipe you want? Add it yourself by reading the < a href ="/contributing "> Contributor's Guide</ a > , or request it by adding it to < a href ="/wanted-recipes "> Wanted Recipes</ a > .</ p >
21
- < p > < a href ="/license "> < img border ="0 " src ="/images/cc_by_badge.png "> </ a > </ p >
22
- </ body >
8
+ < header >
9
+ < h1 > < a href ="/ "> CoffeeScript Cookbook</ a > </ h1 >
10
+ < a href ="/chapters "> Chapter Index</ a > |
11
+ < a href ="/contributing "> Contributing</ a > |
12
+ < a href ="/authors "> Authors</ a > |
13
+ < a href ="/license "> License</ a >
14
+ </ header >
15
+ < section class ="content ">
16
+ < h2 > {{ page.title }}</ h2 >
17
+ {{ content }}
18
+ </ section >
19
+ < footer >
20
+ < p > Don't see the recipe you want? Add it yourself by reading the < a href ="/contributing "> Contributor's Guide</ a > , or request it by adding it to < a href ="/wanted-recipes "> Wanted Recipes</ a > .</ p >
21
+ < a href ="/license "> < img src ="/images/cc_by_badge.png " /> </ a >
22
+ </ footer >
23
+ </ body >
23
24
</ html >
24
25
Original file line number Diff line number Diff line change 5
5
< link rel ="stylesheet " href ="/css/default.css " type ="text/css ">
6
6
</ head >
7
7
< body >
8
- < div class ="header ">
9
- < h1 > < a href ="/ "> CoffeeScript Cookbook</ a > </ h1 >
10
- < a href ="/chapters "> Chapter Index</ a > |
11
- < a href ="/contributing "> Contributing</ a > |
12
- < a href ="/authors "> Authors</ a > |
13
- < a href ="/license "> License</ a >
14
- </ div >
15
- {{ content }}
16
- < hr />
17
- < p > Don't see a recipe you want? See an entire missing chapter? Add it yourself by reading the < a href ="/contributing "> Contributor's Guide</ a > , or request it by adding it to < a href ="/wanted-recipes "> Wanted Recipes</ a > .</ p >
18
- < p > < a href ="/license "> < img border ="0 " src ="/images/cc_by_badge.png "> </ a > </ p >
19
- </ body >
8
+ < header >
9
+ < h1 > < a href ="/ "> CoffeeScript Cookbook</ a > </ h1 >
10
+ < a href ="/chapters "> Chapter Index</ a > |
11
+ < a href ="/contributing "> Contributing</ a > |
12
+ < a href ="/authors "> Authors</ a > |
13
+ < a href ="/license "> License</ a >
14
+ </ header >
15
+ < section class ="content ">
16
+ {{ content }}
17
+ </ section >
18
+ < footer >
19
+ < p > Don't see a recipe you want? See an entire missing chapter? Add it yourself by reading the < a href ="/contributing "> Contributor's Guide</ a > , or request it by adding it to < a href ="/wanted-recipes "> Wanted Recipes</ a > .</ p >
20
+ < a href ="/license "> < img src ="/images/cc_by_badge.png " /> </ a >
21
+ </ footer >
22
+ </ body >
20
23
</ html >
21
24
Original file line number Diff line number Diff line change 5
5
< link rel ="stylesheet " href ="/css/default.css " type ="text/css ">
6
6
</ head >
7
7
< body >
8
- < div class ="header ">
9
- < h2 >
10
- < a href ="/ "> CoffeeScript Cookbok:</ a >
11
- < a href ="/chapters "> Chapters</ a > »
12
- < a href ="/chapters/{{ page.chapter | downcase }} "> {{ page.chapter }}</ a > »
13
- {{ page.title }}</ h2 >
14
- </ div >
15
- {{ content }}
16
- < hr />
17
- < p > Is this recipe wrong, incomplete, or non idiomatic? Help fix it by reading the < a href ="/contributing "> Contributor's Guide</ a > !</ p >
18
- < p > < a href ="/license "> < img border ="0 " src ="/images/cc_by_badge.png "> </ a > </ p >
8
+ < header >
9
+ < h1 >
10
+ < a href ="/ "> CoffeeScript Cookbook</ a > »
11
+ < a href ="/chapters/{{ page.chapter | downcase }} "> {{ page.chapter }}</ a > »
12
+ {{ page.title }}
13
+ </ h1 >
14
+ < a href ="/chapters "> Chapter Index</ a > |
15
+ < a href ="/contributing "> Contributing</ a > |
16
+ < a href ="/authors "> Authors</ a > |
17
+ < a href ="/license "> License</ a >
18
+ </ header >
19
+ < section class ="content ">
20
+ {{ content }}
21
+ </ section >
22
+ < footer >
23
+ < p > Is this recipe wrong, incomplete, or non idiomatic? Help fix it by reading the < a href ="/contributing "> Contributor's Guide</ a > !</ p >
24
+ < a href ="/license "> < img src ="/images/cc_by_badge.png " /> </ a >
25
+ </ footer >
19
26
</ body >
20
27
</ html >
21
28
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ _The following people are amazingly rad and awesome because they have helped fix
19
19
20
20
* David Brady _ratgeyser@gmail.com_
21
21
* Mike Moore _mike@blowmage.com_
22
+ * Peter Hellberg _peter@c7.se_
22
23
* ...You! What are you waiting for? Check out the <a href="/contributing">contributing</a> section and get cracking!
23
24
24
25
Original file line number Diff line number Diff line change @@ -30,6 +30,6 @@ This is a nice feature lifted from Python. Instead of writing out the full compa
30
30
normalHeight = height > maxDwarfism && height < minAcromegaly
31
31
{% endhighlight %}
32
32
33
- CoffeeScript allows us to chain the two comparisons together in a form that more closely matches the way a mothematician would write it.
33
+ CoffeeScript allows us to chain the two comparisons together in a form that more closely matches the way a mathematician would write it.
34
34
35
35
Original file line number Diff line number Diff line change
1
+ /* Minimal reset */
2
+
3
+ * {
4
+ vertical-align : baseline;
5
+ font-family : inherit;
6
+ font-style : inherit;
7
+ font-size : 100% ;
8
+ border : none;
9
+ padding : 0 ;
10
+ margin : 0 ;
11
+ }
12
+
13
+ article , header , section , footer {
14
+ display : block;
15
+ }
16
+
17
+ /* Colors */
18
+
19
+ a , .header a : visited {
20
+ color : # 26ADE4 ;
21
+ text-decoration : none;
22
+ }
23
+
24
+ a : hover {
25
+ text-decoration : underline;
26
+ text-shadow : 0 0 0 # DCEEF5 ;
27
+ }
28
+
29
+ footer {
30
+ border-top : 1px solid # eee ;
31
+ padding-top : 22px ;
32
+ margin : 21px 0 22px 0 ;
33
+ color : # 888 ;
34
+ font-size : 14px ;
35
+ }
36
+
37
+ /* Layout (margins, padding) */
38
+
39
+ pre {
40
+ padding : 22px ;
41
+ line-height : 22px ;
42
+ margin : 22px 0 ;
43
+ }
44
+
45
+ p , header , section { margin-bottom : 22px ; }
46
+
47
+ ul {
48
+ list-style : none;
49
+ }
50
+
51
+ ul , ol {
52
+ margin-left : 22px ;
53
+ margin-bottom : 22px ;
54
+ }
55
+
56
+ /* Typography */
57
+
58
+ body {
59
+ text-rendering : optimizeLegibility;
60
+ color : # 373837 ;
61
+ font-family : Palatino, "Palatino Linotype" , serif;
62
+ text-shadow : 0 0 0 transparent;
63
+ font-size : 16px ;
64
+ line-height : 22px ;
65
+ margin : 22px ;
66
+ }
67
+
68
+ pre {
69
+ font-family : Monaco, Monospace;
70
+ font-size : 14px ;
71
+ }
72
+
73
+ h1 , h2 , h3 {
74
+ margin : 0 ;
75
+ padding : 0 ;
76
+ }
77
+
78
+ h1 { font-size : 30px ; line-height : 44px ; }
79
+ h2 { font-size : 22px ; line-height : 44px ; }
80
+ h3 { font-size : 18px ; line-height : 22px ; }
81
+
82
+ /* Syntax Highlighting */
1
83
.highlight .hll { background-color : # ffffcc }
2
84
.highlight { background : # f8f8f8 ; }
3
85
.highlight .c { color : # 408080 ; font-style : italic } /* Comment */
You can’t perform that action at this time.
0 commit comments