mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-04 22:46:13 +01:00
Merge pull request #17693 from rclai/patch-1
Update support for Meteor 1.2
This commit is contained in:
commit
99d243a6b1
@ -13,13 +13,18 @@ Package.describe({
|
|||||||
Package.onUse(function (api) {
|
Package.onUse(function (api) {
|
||||||
api.versionsFrom('METEOR@1.0');
|
api.versionsFrom('METEOR@1.0');
|
||||||
api.use('jquery', 'client');
|
api.use('jquery', 'client');
|
||||||
api.addFiles([
|
var assets = [
|
||||||
'dist/fonts/glyphicons-halflings-regular.eot',
|
'dist/fonts/glyphicons-halflings-regular.eot',
|
||||||
'dist/fonts/glyphicons-halflings-regular.svg',
|
'dist/fonts/glyphicons-halflings-regular.svg',
|
||||||
'dist/fonts/glyphicons-halflings-regular.ttf',
|
'dist/fonts/glyphicons-halflings-regular.ttf',
|
||||||
'dist/fonts/glyphicons-halflings-regular.woff',
|
'dist/fonts/glyphicons-halflings-regular.woff',
|
||||||
'dist/fonts/glyphicons-halflings-regular.woff2'
|
'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([
|
api.addFiles([
|
||||||
'dist/css/bootstrap.css',
|
'dist/css/bootstrap.css',
|
||||||
'dist/js/bootstrap.js'
|
'dist/js/bootstrap.js'
|
||||||
|
Loading…
Reference in New Issue
Block a user