mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 02:37:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			601 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			601 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 'use strict';
 | |
| 
 | |
| module.exports = {
 | |
|   name: require('./package').name,
 | |
|   isDevelopingAddon: () => true,
 | |
| 
 | |
|   included(app) {
 | |
|     // eslint-disable-next-line prefer-rest-params
 | |
|     this._super.included.apply(this, arguments);
 | |
| 
 | |
|     [
 | |
|       'Black',
 | |
|       'BlackItalic',
 | |
|       'Bold',
 | |
|       'BoldItalic',
 | |
|       'Italic',
 | |
|       'Light',
 | |
|       'LightItalic',
 | |
|       'Regular',
 | |
|       'Thin',
 | |
|       'ThinItalic'
 | |
|     ].forEach(weight =>
 | |
|       ['ttf'].forEach(extension =>
 | |
|         app.import(`vendor/fonts/Lato/Lato-${weight}.${extension}`, {
 | |
|           destDir: `assets/fonts/Lato`
 | |
|         })
 | |
|       )
 | |
|     );
 | |
|   }
 | |
| };
 | 
