BootstrapPluginAsset.php 501 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
 *
14 15 16
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @since 2.0
 */
17
class BootstrapPluginAsset extends AssetBundle
18
{
19
	public $sourcePath = '@vendor/twbs/bootstrap/dist';
Alexander Makarov committed
20
	public $js = [
21
		'js/bootstrap.js',
Alexander Makarov committed
22 23
	];
	public $depends = [
24
		'yii\web\JqueryAsset',
25
		'yii\bootstrap\BootstrapAsset',
Alexander Makarov committed
26
	];
27
}