PjaxAsset.php 546 Bytes
Newer Older
Qiang Xue committed
1 2 3 4 5 6 7 8 9 10 11 12
<?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

namespace yii\widgets;

use yii\web\AssetBundle;

/**
Carsten Brandt committed
13
 * This asset bundle provides the javascript files required by [[Pjax]] widget.
Qiang Xue committed
14 15 16 17 18 19
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @since 2.0
 */
class PjaxAsset extends AssetBundle
{
20
    public $sourcePath = '@bower/yii2-pjax';
21
    public $js = [
22
        'jquery.pjax.js',
23 24 25 26
    ];
    public $depends = [
        'yii\web\YiiAsset',
    ];
Qiang Xue committed
27
}