mirror of
				https://github.com/twbs/bootstrap.git
				synced 2025-10-25 00:03:39 -04:00 
			
		
		
		
	grunt
This commit is contained in:
		
							parent
							
								
									6503cb0822
								
							
						
					
					
						commit
						c2abfc0a44
					
				
							
								
								
									
										2
									
								
								dist/css/bootstrap.css.map
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/css/bootstrap.css.map
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										13
									
								
								dist/js/bootstrap.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								dist/js/bootstrap.js
									
									
									
									
										vendored
									
									
								
							| @ -359,8 +359,11 @@ if (typeof jQuery === 'undefined') { | |||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   Carousel.prototype.getItemForDirection = function (direction, active) { |   Carousel.prototype.getItemForDirection = function (direction, active) { | ||||||
|     var delta = direction == 'prev' ? -1 : 1 |  | ||||||
|     var activeIndex = this.getItemIndex(active) |     var activeIndex = this.getItemIndex(active) | ||||||
|  |     var willWrap = (direction == 'prev' && activeIndex === 0) | ||||||
|  |                 || (direction == 'next' && activeIndex == (this.$items.length - 1)) | ||||||
|  |     if (willWrap && !this.options.wrap) return active | ||||||
|  |     var delta = direction == 'prev' ? -1 : 1 | ||||||
|     var itemIndex = (activeIndex + delta) % this.$items.length |     var itemIndex = (activeIndex + delta) % this.$items.length | ||||||
|     return this.$items.eq(itemIndex) |     return this.$items.eq(itemIndex) | ||||||
|   } |   } | ||||||
| @ -405,14 +408,8 @@ if (typeof jQuery === 'undefined') { | |||||||
|     var $next     = next || this.getItemForDirection(type, $active) |     var $next     = next || this.getItemForDirection(type, $active) | ||||||
|     var isCycling = this.interval |     var isCycling = this.interval | ||||||
|     var direction = type == 'next' ? 'left' : 'right' |     var direction = type == 'next' ? 'left' : 'right' | ||||||
|     var fallback  = type == 'next' ? 'first' : 'last' |  | ||||||
|     var that      = this |     var that      = this | ||||||
| 
 | 
 | ||||||
|     if (!$next.length) { |  | ||||||
|       if (!this.options.wrap) return |  | ||||||
|       $next = this.$element.find('.item')[fallback]() |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     if ($next.hasClass('active')) return (this.sliding = false) |     if ($next.hasClass('active')) return (this.sliding = false) | ||||||
| 
 | 
 | ||||||
|     var relatedTarget = $next[0] |     var relatedTarget = $next[0] | ||||||
| @ -576,7 +573,7 @@ if (typeof jQuery === 'undefined') { | |||||||
|     if (this.transitioning || this.$element.hasClass('in')) return |     if (this.transitioning || this.$element.hasClass('in')) return | ||||||
| 
 | 
 | ||||||
|     var activesData |     var activesData | ||||||
|     var actives = this.$parent && this.$parent.find('> .panel').children('.in, .collapsing') |     var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing') | ||||||
| 
 | 
 | ||||||
|     if (actives && actives.length) { |     if (actives && actives.length) { | ||||||
|       activesData = actives.data('bs.collapse') |       activesData = actives.data('bs.collapse') | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								dist/js/bootstrap.min.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/js/bootstrap.min.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										4
									
								
								docs/assets/js/raw-files.min.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								docs/assets/js/raw-files.min.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								docs/dist/css/bootstrap.css.map
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								docs/dist/css/bootstrap.css.map
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										13
									
								
								docs/dist/js/bootstrap.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								docs/dist/js/bootstrap.js
									
									
									
									
										vendored
									
									
								
							| @ -359,8 +359,11 @@ if (typeof jQuery === 'undefined') { | |||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   Carousel.prototype.getItemForDirection = function (direction, active) { |   Carousel.prototype.getItemForDirection = function (direction, active) { | ||||||
|     var delta = direction == 'prev' ? -1 : 1 |  | ||||||
|     var activeIndex = this.getItemIndex(active) |     var activeIndex = this.getItemIndex(active) | ||||||
|  |     var willWrap = (direction == 'prev' && activeIndex === 0) | ||||||
|  |                 || (direction == 'next' && activeIndex == (this.$items.length - 1)) | ||||||
|  |     if (willWrap && !this.options.wrap) return active | ||||||
|  |     var delta = direction == 'prev' ? -1 : 1 | ||||||
|     var itemIndex = (activeIndex + delta) % this.$items.length |     var itemIndex = (activeIndex + delta) % this.$items.length | ||||||
|     return this.$items.eq(itemIndex) |     return this.$items.eq(itemIndex) | ||||||
|   } |   } | ||||||
| @ -405,14 +408,8 @@ if (typeof jQuery === 'undefined') { | |||||||
|     var $next     = next || this.getItemForDirection(type, $active) |     var $next     = next || this.getItemForDirection(type, $active) | ||||||
|     var isCycling = this.interval |     var isCycling = this.interval | ||||||
|     var direction = type == 'next' ? 'left' : 'right' |     var direction = type == 'next' ? 'left' : 'right' | ||||||
|     var fallback  = type == 'next' ? 'first' : 'last' |  | ||||||
|     var that      = this |     var that      = this | ||||||
| 
 | 
 | ||||||
|     if (!$next.length) { |  | ||||||
|       if (!this.options.wrap) return |  | ||||||
|       $next = this.$element.find('.item')[fallback]() |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     if ($next.hasClass('active')) return (this.sliding = false) |     if ($next.hasClass('active')) return (this.sliding = false) | ||||||
| 
 | 
 | ||||||
|     var relatedTarget = $next[0] |     var relatedTarget = $next[0] | ||||||
| @ -576,7 +573,7 @@ if (typeof jQuery === 'undefined') { | |||||||
|     if (this.transitioning || this.$element.hasClass('in')) return |     if (this.transitioning || this.$element.hasClass('in')) return | ||||||
| 
 | 
 | ||||||
|     var activesData |     var activesData | ||||||
|     var actives = this.$parent && this.$parent.find('> .panel').children('.in, .collapsing') |     var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing') | ||||||
| 
 | 
 | ||||||
|     if (actives && actives.length) { |     if (actives && actives.length) { | ||||||
|       activesData = actives.data('bs.collapse') |       activesData = actives.data('bs.collapse') | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								docs/dist/js/bootstrap.min.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								docs/dist/js/bootstrap.min.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user