Permalink
Browse files

orderedItems doesn't need to be saved into site config

  • Loading branch information...
1 parent e1ef6e9 commit 7b6190594ae72082e7de61359294fd95662185c6 @ajpiano ajpiano committed Nov 22, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 Rules
View
5 Rules
@@ -105,9 +105,9 @@ preprocess do
end
@github_users.each do |username, wat|
- request = Curl::Easy.http_get("https://api.github.com/users/"+username)
+ request = Curl::Easy.http_get("https://api.github.com/users/"+username)
request.perform
- @github_users[ username ] = JSON.parse request.body_str
+ @github_users[ username ] = JSON.parse(request.body_str)
end
@@ -134,7 +134,6 @@ preprocess do
end
@site.config[:chapters] = @chapters
- @site.config[:orderedItems] = @orderedItems
end
compile '/assets/*' do

0 comments on commit 7b61905

Please sign in to comment.