| 
									
										
										
										
											2018-11-28 19:03:28 +08:00
										 |  |  | 'use strict' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-13 19:14:49 +08:00
										 |  |  | const pkg = require('../package.json') | 
					
						
							|  |  |  | const year = new Date().getFullYear() | 
					
						
							| 
									
										
										
										
											2018-09-25 23:55:35 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-09-26 15:54:46 +08:00
										 |  |  | function getBanner(pluginFilename) { | 
					
						
							| 
									
										
										
										
											2018-09-25 23:55:35 +08:00
										 |  |  |   return `/*!
 | 
					
						
							| 
									
										
										
										
											2018-09-26 15:54:46 +08:00
										 |  |  |   * Bootstrap${pluginFilename ? ` ${pluginFilename}` : ''} v${pkg.version} (${pkg.homepage}) | 
					
						
							| 
									
										
										
										
											2018-09-25 23:55:35 +08:00
										 |  |  |   * Copyright 2011-${year} ${pkg.author} | 
					
						
							|  |  |  |   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 | 
					
						
							|  |  |  |   */` | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2018-09-26 15:54:46 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | module.exports = getBanner |