mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Merge pull request #17693 from rclai/patch-1
Update support for Meteor 1.2
This commit is contained in:
+7
-2
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user