mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Added modernizr.js to vendor files list, added tests
This commit is contained in:
@@ -104,6 +104,10 @@
|
|||||||
# React
|
# React
|
||||||
- (^|/)react(-[^.]*)?(\.min)?\.js$
|
- (^|/)react(-[^.]*)?(\.min)?\.js$
|
||||||
|
|
||||||
|
# Modernizr
|
||||||
|
- (^|/)modernizr\-\d\.\d+(\.\d+)?(\.min)?\.js$
|
||||||
|
- (^|/)modernizr\.custom\.\d+\.js$
|
||||||
|
|
||||||
## Python ##
|
## Python ##
|
||||||
|
|
||||||
# django
|
# django
|
||||||
|
|||||||
@@ -310,6 +310,10 @@ class TestBlob < Test::Unit::TestCase
|
|||||||
assert blob("public/javascripts/d3.v3.js").vendored?
|
assert blob("public/javascripts/d3.v3.js").vendored?
|
||||||
assert blob("public/javascripts/d3.v3.min.js").vendored?
|
assert blob("public/javascripts/d3.v3.min.js").vendored?
|
||||||
|
|
||||||
|
# Modernizr
|
||||||
|
assert blob("public/javascripts/modernizr-2.7.1.js").vendored?
|
||||||
|
assert blob("public/javascripts/modernizr.custom.01009.js").vendored?
|
||||||
|
|
||||||
# Fabric
|
# Fabric
|
||||||
assert blob("fabfile.py").vendored?
|
assert blob("fabfile.py").vendored?
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user