coffeescript + little bit more design
This commit is contained in:
parent
9339cf5a75
commit
4beb5f6347
5 changed files with 46 additions and 9 deletions
1
Gemfile
1
Gemfile
|
@ -6,6 +6,7 @@ ruby '2.3.1'
|
|||
|
||||
gem 'nanoc'
|
||||
gem 'kramdown'
|
||||
gem 'coffee-script'
|
||||
|
||||
group :development do
|
||||
gem 'adsf'
|
||||
|
|
|
@ -4,9 +4,14 @@ GEM
|
|||
adsf (1.2.1)
|
||||
rack (>= 1.0.0)
|
||||
coderay (1.1.1)
|
||||
coffee-script (2.4.1)
|
||||
coffee-script-source
|
||||
execjs
|
||||
coffee-script-source (1.10.0)
|
||||
colored (1.2)
|
||||
cri (2.7.0)
|
||||
colored (~> 1.2)
|
||||
execjs (2.7.0)
|
||||
ffi (1.9.10)
|
||||
formatador (0.2.5)
|
||||
guard (2.14.0)
|
||||
|
@ -54,9 +59,13 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
adsf
|
||||
coffee-script
|
||||
guard-nanoc
|
||||
kramdown
|
||||
nanoc
|
||||
|
||||
RUBY VERSION
|
||||
ruby 2.3.1p112
|
||||
|
||||
BUNDLED WITH
|
||||
1.12.5
|
||||
|
|
5
Rules
5
Rules
|
@ -12,6 +12,11 @@ compile '/**/*.erb' do
|
|||
filter :erb
|
||||
end
|
||||
|
||||
compile '/**/*.coffee' do
|
||||
filter :coffeescript
|
||||
write "#{item.identifier.without_ext}.js"
|
||||
end
|
||||
|
||||
# Markdown
|
||||
compile '/**/*.md' do
|
||||
filter :kramdown
|
||||
|
|
9
content/index.coffee
Normal file
9
content/index.coffee
Normal file
|
@ -0,0 +1,9 @@
|
|||
$.get 'https://api.github.com/orgs/ZeusWPI/events', (data) ->
|
||||
for e in data
|
||||
console.log e
|
||||
$('#github-feed ul').append(
|
||||
$('<li />').append(
|
||||
$('<img />',
|
||||
style: 'width: 50px;',
|
||||
src: e.actor.avatar_url
|
||||
)))
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue