DwzIE9Asset.php 690 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * FecShop file.
  4. *
  5. * @link http://www.fecshop.com/
  6. * @copyright Copyright (c) 2016 FecShop Software LLC
  7. * @license http://www.fecshop.com/license/
  8. */
  9. namespace fecadmin\myassets;
  10. use yii\web\AssetBundle;
  11. /**
  12. * @author Terry Zhao <2358269014@qq.com>
  13. * @since 1.0
  14. */
  15. class DwzIE9Asset extends AssetBundle
  16. {
  17. public $sourcePath = '@fecadmin/myassets/dwz_jui-master';
  18. //public $cssOptions = ['condition' => 'lte IE9'];
  19. public $jsOptions = [
  20. 'position' => \yii\web\View::POS_HEAD ,
  21. 'condition' => 'lt IE 9'
  22. ];
  23. public $js = [
  24. 'js/speedup.js',
  25. 'jquery-1.11.3.min.js',
  26. ];
  27. public $depends = [
  28. ];
  29. }