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

8
namespace yii\gii;
AlexGx committed
9

10 11 12
use yii\web\AssetBundle;

/**
13
 *
14 15 16
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @since 2.0
 */
17
class TypeAheadAsset extends AssetBundle
18
{
19
    public $sourcePath = '@bower/typeahead.js/dist';
20
    public $js = [
21
        'typeahead.bundle.js',
22 23
    ];
    public $depends = [
24 25
        'yii\bootstrap\BootstrapAsset',
        'yii\bootstrap\BootstrapPluginAsset',
26
    ];
27
}