danielribeiro/github-diff-highlight — pull request #6 by tupton (2012-05-10 05:06:52+00:00)
Title: Better and more expandable list of possible 'actions' to check.

Just a simpler and more expandable way to list the possible actions.

It's much easier to add to an array than to rearrange an `if` statement.

Also, we only care about the `pathname`, so use it instead of `href`.