don't attempt to syntax highlight files if they're big-ish
authorJohan Sørensen <johan@johansorensen.com>
Sat, 23 Feb 2008 21:07:56 +0000 (22:07 +0100)
committerJohan Sørensen <johan@johansorensen.com>
Sat, 23 Feb 2008 21:07:56 +0000 (22:07 +0100)
commit554b0091e0899fc4db1f641416c792428ea08d39
tree198ad5aa622babf25d6e80c402c57dc4acf1d31f
parentde9d430b0f872064ad70c4d72e2a26891a04e39d
don't attempt to syntax highlight files if they're big-ish
app/helpers/browse_helper.rb
app/views/browse/blob.html.erb
spec/helpers/browse_helper_spec.rb
vendor/grit/lib/grit.rb