Skip to content

Commit f25f4f7

Browse files
committed
Initial commit
0 parents  commit f25f4f7

File tree

11,150 files changed

+558062
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

11,150 files changed

+558062
-0
lines changed

CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
js2.coffee

Makefile

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
bundle := env BUNDLE_GEMFILE=./_/Gemfile bundle
2+
uglifyjs := node_modules/.bin/uglifyjs
3+
4+
default: start
5+
6+
all: \
7+
assets/vendor.css \
8+
assets/vendor.js
9+
10+
start: bundle
11+
mkdir -p _site
12+
npm exec concurrently "${bundle} exec jekyll build --safe --drafts --watch" "npm exec serve _site"
13+
14+
build: bundle
15+
${bundle} exec jekyll build --safe
16+
17+
bundle:
18+
${bundle}
19+
20+
assets/vendor.css: \
21+
node_modules/codemirror/lib/codemirror.css \
22+
node_modules/codemirror/theme/ambiance.css \
23+
node_modules/codemirror/addon/lint/lint.css \
24+
node_modules/codemirror/addon/scroll/simplescrollbars.css
25+
cat $^ > $@
26+
27+
assets/vendor.js: \
28+
node_modules/codemirror/lib/codemirror.js \
29+
node_modules/codemirror/mode/javascript/javascript.js \
30+
node_modules/codemirror/mode/coffeescript/coffeescript.js \
31+
node_modules/codemirror/addon/lint/lint.js \
32+
node_modules/codemirror/addon/edit/closebrackets.js \
33+
node_modules/codemirror/addon/edit/matchbrackets.js \
34+
node_modules/codemirror/addon/scroll/simplescrollbars.js
35+
cat $^ | $(uglifyjs) -m > $@

NOTES.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## Dependencies
2+
3+
3rd-party dependencies are managed by `npm` and are compiled into `assets/vendor.{css,js}`.
4+
5+
npm install
6+
make -B

_/Gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source 'https://rubygems.org'
2+
gem 'github-pages'
3+
gem 'RedCloth'

_/Gemfile.lock

+272
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,272 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
RedCloth (4.3.3)
5+
activesupport (7.1.2)
6+
base64
7+
bigdecimal
8+
concurrent-ruby (~> 1.0, >= 1.0.2)
9+
connection_pool (>= 2.2.5)
10+
drb
11+
i18n (>= 1.6, < 2)
12+
minitest (>= 5.1)
13+
mutex_m
14+
tzinfo (~> 2.0)
15+
addressable (2.8.5)
16+
public_suffix (>= 2.0.2, < 6.0)
17+
base64 (0.2.0)
18+
bigdecimal (3.1.4)
19+
coffee-script (2.4.1)
20+
coffee-script-source
21+
execjs
22+
coffee-script-source (1.11.1)
23+
colorator (1.1.0)
24+
commonmarker (0.23.10)
25+
concurrent-ruby (1.2.2)
26+
connection_pool (2.4.1)
27+
dnsruby (1.70.0)
28+
simpleidn (~> 0.2.1)
29+
drb (2.2.0)
30+
ruby2_keywords
31+
em-websocket (0.5.3)
32+
eventmachine (>= 0.12.9)
33+
http_parser.rb (~> 0)
34+
ethon (0.16.0)
35+
ffi (>= 1.15.0)
36+
eventmachine (1.2.7)
37+
execjs (2.9.1)
38+
faraday (2.7.11)
39+
base64
40+
faraday-net_http (>= 2.0, < 3.1)
41+
ruby2_keywords (>= 0.0.4)
42+
faraday-net_http (3.0.2)
43+
ffi (1.16.3)
44+
forwardable-extended (2.6.0)
45+
gemoji (3.0.1)
46+
github-pages (228)
47+
github-pages-health-check (= 1.17.9)
48+
jekyll (= 3.9.3)
49+
jekyll-avatar (= 0.7.0)
50+
jekyll-coffeescript (= 1.1.1)
51+
jekyll-commonmark-ghpages (= 0.4.0)
52+
jekyll-default-layout (= 0.1.4)
53+
jekyll-feed (= 0.15.1)
54+
jekyll-gist (= 1.5.0)
55+
jekyll-github-metadata (= 2.13.0)
56+
jekyll-include-cache (= 0.2.1)
57+
jekyll-mentions (= 1.6.0)
58+
jekyll-optional-front-matter (= 0.3.2)
59+
jekyll-paginate (= 1.1.0)
60+
jekyll-readme-index (= 0.3.0)
61+
jekyll-redirect-from (= 0.16.0)
62+
jekyll-relative-links (= 0.6.1)
63+
jekyll-remote-theme (= 0.4.3)
64+
jekyll-sass-converter (= 1.5.2)
65+
jekyll-seo-tag (= 2.8.0)
66+
jekyll-sitemap (= 1.4.0)
67+
jekyll-swiss (= 1.0.0)
68+
jekyll-theme-architect (= 0.2.0)
69+
jekyll-theme-cayman (= 0.2.0)
70+
jekyll-theme-dinky (= 0.2.0)
71+
jekyll-theme-hacker (= 0.2.0)
72+
jekyll-theme-leap-day (= 0.2.0)
73+
jekyll-theme-merlot (= 0.2.0)
74+
jekyll-theme-midnight (= 0.2.0)
75+
jekyll-theme-minimal (= 0.2.0)
76+
jekyll-theme-modernist (= 0.2.0)
77+
jekyll-theme-primer (= 0.6.0)
78+
jekyll-theme-slate (= 0.2.0)
79+
jekyll-theme-tactile (= 0.2.0)
80+
jekyll-theme-time-machine (= 0.2.0)
81+
jekyll-titles-from-headings (= 0.5.3)
82+
jemoji (= 0.12.0)
83+
kramdown (= 2.3.2)
84+
kramdown-parser-gfm (= 1.1.0)
85+
liquid (= 4.0.4)
86+
mercenary (~> 0.3)
87+
minima (= 2.5.1)
88+
nokogiri (>= 1.13.6, < 2.0)
89+
rouge (= 3.26.0)
90+
terminal-table (~> 1.4)
91+
github-pages-health-check (1.17.9)
92+
addressable (~> 2.3)
93+
dnsruby (~> 1.60)
94+
octokit (~> 4.0)
95+
public_suffix (>= 3.0, < 5.0)
96+
typhoeus (~> 1.3)
97+
html-pipeline (2.14.3)
98+
activesupport (>= 2)
99+
nokogiri (>= 1.4)
100+
http_parser.rb (0.8.0)
101+
i18n (1.14.1)
102+
concurrent-ruby (~> 1.0)
103+
jekyll (3.9.3)
104+
addressable (~> 2.4)
105+
colorator (~> 1.0)
106+
em-websocket (~> 0.5)
107+
i18n (>= 0.7, < 2)
108+
jekyll-sass-converter (~> 1.0)
109+
jekyll-watch (~> 2.0)
110+
kramdown (>= 1.17, < 3)
111+
liquid (~> 4.0)
112+
mercenary (~> 0.3.3)
113+
pathutil (~> 0.9)
114+
rouge (>= 1.7, < 4)
115+
safe_yaml (~> 1.0)
116+
jekyll-avatar (0.7.0)
117+
jekyll (>= 3.0, < 5.0)
118+
jekyll-coffeescript (1.1.1)
119+
coffee-script (~> 2.2)
120+
coffee-script-source (~> 1.11.1)
121+
jekyll-commonmark (1.4.0)
122+
commonmarker (~> 0.22)
123+
jekyll-commonmark-ghpages (0.4.0)
124+
commonmarker (~> 0.23.7)
125+
jekyll (~> 3.9.0)
126+
jekyll-commonmark (~> 1.4.0)
127+
rouge (>= 2.0, < 5.0)
128+
jekyll-default-layout (0.1.4)
129+
jekyll (~> 3.0)
130+
jekyll-feed (0.15.1)
131+
jekyll (>= 3.7, < 5.0)
132+
jekyll-gist (1.5.0)
133+
octokit (~> 4.2)
134+
jekyll-github-metadata (2.13.0)
135+
jekyll (>= 3.4, < 5.0)
136+
octokit (~> 4.0, != 4.4.0)
137+
jekyll-include-cache (0.2.1)
138+
jekyll (>= 3.7, < 5.0)
139+
jekyll-mentions (1.6.0)
140+
html-pipeline (~> 2.3)
141+
jekyll (>= 3.7, < 5.0)
142+
jekyll-optional-front-matter (0.3.2)
143+
jekyll (>= 3.0, < 5.0)
144+
jekyll-paginate (1.1.0)
145+
jekyll-readme-index (0.3.0)
146+
jekyll (>= 3.0, < 5.0)
147+
jekyll-redirect-from (0.16.0)
148+
jekyll (>= 3.3, < 5.0)
149+
jekyll-relative-links (0.6.1)
150+
jekyll (>= 3.3, < 5.0)
151+
jekyll-remote-theme (0.4.3)
152+
addressable (~> 2.0)
153+
jekyll (>= 3.5, < 5.0)
154+
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
155+
rubyzip (>= 1.3.0, < 3.0)
156+
jekyll-sass-converter (1.5.2)
157+
sass (~> 3.4)
158+
jekyll-seo-tag (2.8.0)
159+
jekyll (>= 3.8, < 5.0)
160+
jekyll-sitemap (1.4.0)
161+
jekyll (>= 3.7, < 5.0)
162+
jekyll-swiss (1.0.0)
163+
jekyll-theme-architect (0.2.0)
164+
jekyll (> 3.5, < 5.0)
165+
jekyll-seo-tag (~> 2.0)
166+
jekyll-theme-cayman (0.2.0)
167+
jekyll (> 3.5, < 5.0)
168+
jekyll-seo-tag (~> 2.0)
169+
jekyll-theme-dinky (0.2.0)
170+
jekyll (> 3.5, < 5.0)
171+
jekyll-seo-tag (~> 2.0)
172+
jekyll-theme-hacker (0.2.0)
173+
jekyll (> 3.5, < 5.0)
174+
jekyll-seo-tag (~> 2.0)
175+
jekyll-theme-leap-day (0.2.0)
176+
jekyll (> 3.5, < 5.0)
177+
jekyll-seo-tag (~> 2.0)
178+
jekyll-theme-merlot (0.2.0)
179+
jekyll (> 3.5, < 5.0)
180+
jekyll-seo-tag (~> 2.0)
181+
jekyll-theme-midnight (0.2.0)
182+
jekyll (> 3.5, < 5.0)
183+
jekyll-seo-tag (~> 2.0)
184+
jekyll-theme-minimal (0.2.0)
185+
jekyll (> 3.5, < 5.0)
186+
jekyll-seo-tag (~> 2.0)
187+
jekyll-theme-modernist (0.2.0)
188+
jekyll (> 3.5, < 5.0)
189+
jekyll-seo-tag (~> 2.0)
190+
jekyll-theme-primer (0.6.0)
191+
jekyll (> 3.5, < 5.0)
192+
jekyll-github-metadata (~> 2.9)
193+
jekyll-seo-tag (~> 2.0)
194+
jekyll-theme-slate (0.2.0)
195+
jekyll (> 3.5, < 5.0)
196+
jekyll-seo-tag (~> 2.0)
197+
jekyll-theme-tactile (0.2.0)
198+
jekyll (> 3.5, < 5.0)
199+
jekyll-seo-tag (~> 2.0)
200+
jekyll-theme-time-machine (0.2.0)
201+
jekyll (> 3.5, < 5.0)
202+
jekyll-seo-tag (~> 2.0)
203+
jekyll-titles-from-headings (0.5.3)
204+
jekyll (>= 3.3, < 5.0)
205+
jekyll-watch (2.2.1)
206+
listen (~> 3.0)
207+
jemoji (0.12.0)
208+
gemoji (~> 3.0)
209+
html-pipeline (~> 2.2)
210+
jekyll (>= 3.0, < 5.0)
211+
kramdown (2.3.2)
212+
rexml
213+
kramdown-parser-gfm (1.1.0)
214+
kramdown (~> 2.0)
215+
liquid (4.0.4)
216+
listen (3.8.0)
217+
rb-fsevent (~> 0.10, >= 0.10.3)
218+
rb-inotify (~> 0.9, >= 0.9.10)
219+
mercenary (0.3.6)
220+
minima (2.5.1)
221+
jekyll (>= 3.5, < 5.0)
222+
jekyll-feed (~> 0.9)
223+
jekyll-seo-tag (~> 2.1)
224+
minitest (5.20.0)
225+
mutex_m (0.2.0)
226+
nokogiri (1.15.4-x86_64-linux)
227+
racc (~> 1.4)
228+
octokit (4.25.1)
229+
faraday (>= 1, < 3)
230+
sawyer (~> 0.9)
231+
pathutil (0.16.2)
232+
forwardable-extended (~> 2.6)
233+
public_suffix (4.0.7)
234+
racc (1.7.3)
235+
rb-fsevent (0.11.2)
236+
rb-inotify (0.10.1)
237+
ffi (~> 1.0)
238+
rexml (3.2.6)
239+
rouge (3.26.0)
240+
ruby2_keywords (0.0.5)
241+
rubyzip (2.3.2)
242+
safe_yaml (1.0.5)
243+
sass (3.7.4)
244+
sass-listen (~> 4.0.0)
245+
sass-listen (4.0.0)
246+
rb-fsevent (~> 0.9, >= 0.9.4)
247+
rb-inotify (~> 0.9, >= 0.9.7)
248+
sawyer (0.9.2)
249+
addressable (>= 2.3.5)
250+
faraday (>= 0.17.3, < 3)
251+
simpleidn (0.2.1)
252+
unf (~> 0.1.4)
253+
terminal-table (1.8.0)
254+
unicode-display_width (~> 1.1, >= 1.1.1)
255+
typhoeus (1.4.0)
256+
ethon (>= 0.9.0)
257+
tzinfo (2.0.6)
258+
concurrent-ruby (~> 1.0)
259+
unf (0.1.4)
260+
unf_ext
261+
unf_ext (0.0.9)
262+
unicode-display_width (1.8.0)
263+
264+
PLATFORMS
265+
x86_64-linux
266+
267+
DEPENDENCIES
268+
RedCloth
269+
github-pages
270+
271+
BUNDLED WITH
272+
2.4.1

_config.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
sass_dir: _sass
2+
exclude:
3+
- Makefile
4+
- README.md
5+
- NOTES.md
6+
- _/Gemfile
7+
- _/Gemfile.lock
8+
- CNAME
9+
- .gitignore
10+
- node_modules
11+
- package.json

_data/announcement.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
title: js2coffee v2.2.0 released
2+
date: Apr 2, 2016
3+
body: |-
4+
See the [changelog] for details. Feel free to report any [issues] you encounter.
5+
6+
[xxx]: js2coffee v2.0 is a rewrite that was released Feb 2015. Coming from the old v0.x? See [new features][new] and [migration guide][migration].
7+
8+
[changelog]: https://github.com/js2coffee/js2coffee/blob/master/HISTORY.md
9+
[issues]: https://github.com/js2coffee/js2coffee/issues
10+
[new]: https://github.com/js2coffee/js2coffee/blob/master/notes/New_in_2.0.md
11+
[migration]: https://github.com/js2coffee/js2coffee/blob/master/notes/Migration_guide.md
12+

_data/js.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
js2coffee:
2+
url: //cdn.rawgit.com/js2coffee/js2coffee/v%s/dist/js2coffee.js
3+
version: 2.2.0
4+
coffeescript:
5+
url: //cdn.rawgit.com/jashkenas/coffeescript/%s/extras/coffee-script.js
6+
version: 1.9.2

_includes/analytics.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<script>
2+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
6+
if (window.location.hostname.match(/js2\.coffee$/)) {
7+
ga('create', 'UA-25112723-1', 'auto');
8+
ga('send', 'pageview');
9+
}
10+
</script>

_includes/announcements.html

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<div class='announcement-dialog'>
2+
<button class='close-button'></button>
3+
<h3 class='heading'>
4+
<strong class='title'>{{ site.data.announcement.title }}</strong>
5+
<span class='date'>{{ site.data.announcement.date }}</span>
6+
</h3>
7+
8+
{{ site.data.announcement.body | markdownify }}
9+
10+
<p class='share-buttons'>
11+
<a class='share-button twitter' href='https://twitter.com/share?url=http://js2.coffee/&amp;text=js2coffee 2.0 - javascript to coffeescript compiler, rewritten!' target='_blank'>Tweet</a>
12+
{% include github-button.html %}
13+
<!-- <a href="http://news.ycombinator.com/submit" data-url="http://js2.coffee/" class="hn-share-button">Vote on HN</a> -->
14+
<!-- <script src="//hnbutton.appspot.com/static/hn.min.js" async defer></script> -->
15+
</p>
16+
</div>
17+
18+
<button class='announcement-banner'>
19+
<i class='icon'></i>
20+
<strong class='title'>{{ site.data.announcement.title }}</strong>
21+
<span class='date'>{{ site.data.announcement.date }}</span>
22+
<span class='expando'></span>
23+
</button>

_includes/github-button.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<iframe src="support/github-btn.html?user=js2coffee&amp;repo=js2coffee&amp;type=star&amp;size=large&amp;count=true" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>

0 commit comments

Comments
 (0)