您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

28 行
546B

  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\widgets;
  8. use yii\web\AssetBundle;
  9. /**
  10. * This asset bundle provides the javascript files required by [[Pjax]] widget.
  11. *
  12. * @author Qiang Xue <qiang.xue@gmail.com>
  13. * @since 2.0
  14. */
  15. class PjaxAsset extends AssetBundle
  16. {
  17. public $sourcePath = '@bower/yii2-pjax';
  18. public $js = [
  19. 'jquery.pjax.js',
  20. ];
  21. public $depends = [
  22. 'yii\web\YiiAsset',
  23. ];
  24. }