assets如何判断IE版本 [ 2.0 版本 ]
public $js = [
'static/global/plugins/jquery.min.js',
'static/global/plugins/bootstrap/js/bootstrap.min.js',
'static/global/plugins/js.cookie.min.js',
'static/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js',
'static/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js',
'static/global/plugins/jquery.blockui.min.js',
'static/global/plugins/uniform/jquery.uniform.min.js',
'static/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js',
'static/global/plugins/moment.min.js',
'static/global/plugins/bootstrap-daterangepicker/daterangepicker.min.js',
'static/global/plugins/morris/morris.min.js',
'static/global/plugins/morris/raphael-min.js',
'static/global/plugins/counterup/jquery.waypoints.min.js',
'static/global/plugins/counterup/jquery.counterup.min.js',
'static/global/plugins/amcharts/amcharts/amcharts.js',
'static/global/plugins/amcharts/amcharts/serial.js',
'static/global/plugins/amcharts/amcharts/pie.js',
'static/global/plugins/amcharts/amcharts/radar.js',
'static/global/plugins/amcharts/amcharts/themes/light.js',
'static/global/plugins/amcharts/amcharts/themes/patterns.js',
'static/global/plugins/amcharts/amcharts/themes/chalk.js',
'static/global/plugins/amcharts/ammap/ammap.js',
'static/global/plugins/amcharts/ammap/maps/js/worldLow.js',
'static/global/plugins/amcharts/amstockcharts/amstock.js',
'static/global/plugins/fullcalendar/fullcalendar.min.js',
'static/global/plugins/flot/jquery.flot.min.js',
'static/global/plugins/flot/jquery.flot.resize.min.js',
'static/global/plugins/flot/jquery.flot.categories.min.js',
'static/global/plugins/jquery-easypiechart/jquery.easypiechart.min.js',
'static/global/plugins/jquery.sparkline.min.js',
'static/global/plugins/jqvmap/jqvmap/jquery.vmap.js',
'static/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.russia.js',
'static/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.world.js',
'static/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.europe.js',
'static/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.germany.js',
'static/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.usa.js',
'static/global/plugins/jqvmap/jqvmap/data/jquery.vmap.sampledata.js',
'static/global/scripts/app.min.js',
'static/pages/scripts/dashboard.min.js',
'static/layouts/layout4/scripts/layout.min.js',
'static/layouts/layout4/scripts/demo.min.js',
'static/layouts/global/scripts/quick-sidebar.min.js',
];
现在是这样的 请问如何输入这样的
请问这个
public $jsOptions = ['condition' => 'lte IE9'];
应该加在哪里?
我加在了AppAsset.php里面后就变成这样了
不能单独选择两个JS文件吗?
最佳答案
其他 1 个回答
-
共 4 条回复yt319921208 回复于 2016-04-14 15:05 回复
加上了 就成这样了
@yt319921208 难道不对吗?
yt319921208 回复于 2016-04-14 15:13 回复@koko 不对 我补充一下问题
yt319921208 回复于 2016-04-14 15:17 回复@koko 问题已经补充了
yt319921208
注册时间:2015-06-19
最后登录:2016-05-05
在线时长:2小时48分
最后登录:2016-05-05
在线时长:2小时48分
- 粉丝2
- 金钱0
- 威望0
- 积分20