Skip to content

Commit

Permalink
Merge pull request github-linguist#1165 from github/972-update
Browse files Browse the repository at this point in the history
972 update
  • Loading branch information
arfon committed May 3, 2014
2 parents 8b87878 + f103306 commit 4eff60e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/linguist/vendor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@
# AngularJS
- (^|/)angular([^.]*)(\.min)?\.js$

# D3.js
- (^|\/)d3(\.v\d+)?([^.]*)(\.min)?\.js$

# React
- (^|/)react(-[^.]*)?(\.min)?\.js$

Expand Down
4 changes: 4 additions & 0 deletions test/test_blob.rb
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ def test_vendored
assert blob("public/javascripts/angular.js").vendored?
assert blob("public/javascripts/angular.min.js").vendored?

# D3.js
assert blob("public/javascripts/d3.v3.js").vendored?
assert blob("public/javascripts/d3.v3.min.js").vendored?

# Fabric
assert blob("fabfile.py").vendored?

Expand Down

0 comments on commit 4eff60e

Please sign in to comment.