mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Update vendor.yml to include jQuery UI
This commit is contained in:
		@@ -30,6 +30,10 @@
 | 
				
			|||||||
- (^|/)jquery([^.]*)(\.min)?\.js$
 | 
					- (^|/)jquery([^.]*)(\.min)?\.js$
 | 
				
			||||||
- (^|/)jquery\-\d\.\d(\.\d)?(\.min)?\.js$
 | 
					- (^|/)jquery\-\d\.\d(\.\d)?(\.min)?\.js$
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# jQuery UI
 | 
				
			||||||
 | 
					- (^|/)jquery\-ui(\-\d\.\d+(\.\d+)?)?(\.\w+)?(\.min)?\.(js|css)$
 | 
				
			||||||
 | 
					- (^|/)jquery\.(ui|effects)\.([^.]*)(\.min)?\.(js|css)$
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Prototype
 | 
					# Prototype
 | 
				
			||||||
- (^|/)prototype(.*)\.js$
 | 
					- (^|/)prototype(.*)\.js$
 | 
				
			||||||
- (^|/)effects\.js$
 | 
					- (^|/)effects\.js$
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -207,6 +207,23 @@ class TestBlob < Test::Unit::TestCase
 | 
				
			|||||||
    assert blob("public/javascripts/jquery-1.6.1.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.6.1.min.js").vendored?
 | 
				
			||||||
    assert !blob("public/javascripts/jquery.github.menu.js").vendored?
 | 
					    assert !blob("public/javascripts/jquery.github.menu.js").vendored?
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    # jQuery UI
 | 
				
			||||||
 | 
					    assert blob("themes/ui-lightness/jquery-ui.css").vendored?
 | 
				
			||||||
 | 
					    assert blob("themes/ui-lightness/jquery-ui-1.8.22.custom.css").vendored?
 | 
				
			||||||
 | 
					    assert blob("themes/ui-lightness/jquery.ui.accordion.css").vendored?
 | 
				
			||||||
 | 
					    assert blob("ui/i18n/jquery.ui.datepicker-ar.js").vendored?
 | 
				
			||||||
 | 
					    assert blob("ui/i18n/jquery-ui-i18n.js").vendored?
 | 
				
			||||||
 | 
					    assert blob("ui/jquery.effects.blind.js").vendored?
 | 
				
			||||||
 | 
					    assert blob("ui/jquery-ui-1.8.22.custom.js").vendored?
 | 
				
			||||||
 | 
					    assert blob("ui/jquery-ui-1.8.22.custom.min.js").vendored?
 | 
				
			||||||
 | 
					    assert blob("ui/jquery-ui-1.8.22.js").vendored?
 | 
				
			||||||
 | 
					    assert blob("ui/jquery-ui-1.8.js").vendored?
 | 
				
			||||||
 | 
					    assert blob("ui/jquery-ui.min.js").vendored?
 | 
				
			||||||
 | 
					    assert blob("ui/jquery.ui.accordion.js").vendored?
 | 
				
			||||||
 | 
					    assert blob("ui/minified/jquery.effects.blind.min.js").vendored?
 | 
				
			||||||
 | 
					    assert blob("ui/minified/jquery.ui.accordion.min.js").vendored?
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # MooTools
 | 
					    # MooTools
 | 
				
			||||||
    assert blob("public/javascripts/mootools-core-1.3.2-full-compat.js").vendored?
 | 
					    assert blob("public/javascripts/mootools-core-1.3.2-full-compat.js").vendored?
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user