mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Recognize jQuery >= 1.10.0
jQuery recently passed 1.10, but the vendor regexp assumed each component of the version number would be only one digit. Allow multiple digits for the minor and micro versions.
This commit is contained in:
		| @@ -236,6 +236,8 @@ class TestBlob < Test::Unit::TestCase | ||||
|     assert blob("public/javascripts/jquery-1.5.2.js").vendored? | ||||
|     assert blob("public/javascripts/jquery-1.6.1.js").vendored? | ||||
|     assert blob("public/javascripts/jquery-1.6.1.min.js").vendored? | ||||
|     assert blob("public/javascripts/jquery-1.10.1.js").vendored? | ||||
|     assert blob("public/javascripts/jquery-1.10.1.min.js").vendored? | ||||
|     assert !blob("public/javascripts/jquery.github.menu.js").vendored? | ||||
|  | ||||
|     # jQuery UI | ||||
|   | ||||
		Reference in New Issue
	
	Block a user