Permalink
Browse files

Qualifying gollum events

  • Loading branch information...
1 parent c29c3b7 commit df134ab8fd7960c619aa75ef4c125ea7d1dff437 Zach Moazeni committed May 11, 2012
Showing with 8 additions and 3 deletions.
  1. +2 −1 coffee/site.coffee
  2. +6 −2 js/site.js
View
@@ -89,7 +89,6 @@ class Event extends Spine.Model
ForkEvent: "fork"
FollowEvent:"follow"
WatchEvent: "watch"
- GollumEvent:"gollum"
PublicEvent:"public"
DeleteEvent: "skip"
@@ -120,6 +119,8 @@ class Event extends Spine.Model
else @payload.ref_type
when "PushEvent"
"push" if @payload.commits?.length > 0
+ when "GollumEvent"
+ "gollum" if @payload.pages?.length > 0
else "item"
view || "skip"
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit df134ab

Please sign in to comment.