mirror of https://github.com/twbs/bootstrap.git
				
				
				
			Update support for Meteor 1.2
This commit is contained in:
		
							parent
							
								
									911312d61e
								
							
						
					
					
						commit
						7f45ac255a
					
				| 
						 | 
				
			
			@ -13,13 +13,18 @@ Package.describe({
 | 
			
		|||
Package.onUse(function (api) {
 | 
			
		||||
  api.versionsFrom('METEOR@1.0');
 | 
			
		||||
  api.use('jquery', 'client');
 | 
			
		||||
  api.addFiles([
 | 
			
		||||
  var assets = [
 | 
			
		||||
    'dist/fonts/glyphicons-halflings-regular.eot',
 | 
			
		||||
    'dist/fonts/glyphicons-halflings-regular.svg',
 | 
			
		||||
    'dist/fonts/glyphicons-halflings-regular.ttf',
 | 
			
		||||
    'dist/fonts/glyphicons-halflings-regular.woff',
 | 
			
		||||
    'dist/fonts/glyphicons-halflings-regular.woff2'
 | 
			
		||||
  ], 'client', { isAsset: true });
 | 
			
		||||
  ];
 | 
			
		||||
  if (api.addAssets) {
 | 
			
		||||
    api.addAssets(assets, 'client');
 | 
			
		||||
  } else {
 | 
			
		||||
    api.addFiles(assets, 'client', { isAsset: true });
 | 
			
		||||
  }
 | 
			
		||||
  api.addFiles([
 | 
			
		||||
    'dist/css/bootstrap.css',
 | 
			
		||||
    'dist/js/bootstrap.js'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue