BootstrapPluginAsset.php 561 Bytes
Newer Older
1 2 3 4 5 6 7 8
<?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

namespace yii\bootstrap;
9

10 11 12
use yii\web\AssetBundle;

/**
13
 * Asset bundle for the Twitter bootstrap javascript files.
14
 *
15 16 17
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @since 2.0
 */
18
class BootstrapPluginAsset extends AssetBundle
19
{
20
	public $sourcePath = '@vendor/twbs/bootstrap/dist';
Alexander Makarov committed
21
	public $js = [
22
		'js/bootstrap.js',
Alexander Makarov committed
23 24
	];
	public $depends = [
25
		'yii\web\JqueryAsset',
26
		'yii\bootstrap\BootstrapAsset',
Alexander Makarov committed
27
	];
28
}