mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-29 13:21:01 +00:00
Merge pull request #531 from chriskuehl/master
Add vendor exception for PhoneGap/Cordova device-specific JavaScript libraries.
This commit is contained in:
@@ -144,5 +144,9 @@
|
|||||||
# Test fixtures
|
# Test fixtures
|
||||||
- ^[Tt]est/fixtures/
|
- ^[Tt]est/fixtures/
|
||||||
|
|
||||||
|
# PhoneGap/Cordova
|
||||||
|
- (^|/)cordova([^.]*)(\.min)?\.js$
|
||||||
|
- (^|/)cordova\-\d\.\d(\.\d)?(\.min)?\.js$
|
||||||
|
|
||||||
# .DS_Store's
|
# .DS_Store's
|
||||||
- .[Dd][Ss]_[Ss]tore$
|
- .[Dd][Ss]_[Ss]tore$
|
||||||
|
|||||||
@@ -315,6 +315,12 @@ class TestBlob < Test::Unit::TestCase
|
|||||||
# Test fixtures
|
# Test fixtures
|
||||||
assert blob("test/fixtures/random.rkt").vendored?
|
assert blob("test/fixtures/random.rkt").vendored?
|
||||||
assert blob("Test/fixtures/random.rkt").vendored?
|
assert blob("Test/fixtures/random.rkt").vendored?
|
||||||
|
|
||||||
|
# Cordova/PhoneGap
|
||||||
|
assert blob("cordova.js").vendored?
|
||||||
|
assert blob("cordova.min.js").vendored?
|
||||||
|
assert blob("cordova-2.1.0.js").vendored?
|
||||||
|
assert blob("cordova-2.1.0.min.js").vendored?
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_language
|
def test_language
|
||||||
|
|||||||
Reference in New Issue
Block a user