Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

BootstrapPluginAsset.php 588B

12345678910111213141516171819202122232425262728
  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\bootstrap;
  8. use yii\web\AssetBundle;
  9. /**
  10. * Asset bundle for the Twitter bootstrap javascript files.
  11. *
  12. * @author Qiang Xue <qiang.xue@gmail.com>
  13. * @since 2.0
  14. */
  15. class BootstrapPluginAsset extends AssetBundle
  16. {
  17. public $sourcePath = '@bower/bootstrap/dist';
  18. public $js = [
  19. 'js/bootstrap.js',
  20. ];
  21. public $depends = [
  22. 'yii\web\JqueryAsset',
  23. 'yii\bootstrap\BootstrapAsset',
  24. ];
  25. }