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文件吗?
针对ie9的单独建一个资源包,至少我是这样解决 的
http://www.yiichina.com/doc/guide/2.0/structure-assets