YiiAsset.php 504B

12345678910111213141516171819202122232425
  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\web;
  8. /**
  9. * This asset bundle provides the base JavaScript files for the Yii Framework.
  10. *
  11. * @author Qiang Xue <qiang.xue@gmail.com>
  12. * @since 2.0
  13. */
  14. class YiiAsset extends AssetBundle
  15. {
  16. public $sourcePath = '@yii/assets';
  17. public $js = [
  18. 'yii.js',
  19. ];
  20. public $depends = [
  21. 'yii\web\JqueryAsset',
  22. ];
  23. }