wpfw_ewei_shopv2/static/js/myconfig.js
2023-02-14 19:57:32 +08:00

1 line
2.1 KiB
JavaScript

var version=+new Date,myconfig={path:"../addons/"+window.ewei_shopv2_module_name+"/static/js/",alias:{jquery:"dist/jquery/jquery-1.11.1.min","jquery.form":"dist/jquery/jquery.form","jquery.gcjs":"dist/jquery/jquery.gcjs","jquery.validate":"dist/jquery/jquery.validate.min","jquery.nestable":"dist/jquery/nestable/jquery.nestable","jquery.qrcode":"../dist/jquery/jquery.qrcode.min",bootstrap:"dist/bootstrap/bootstrap.min","bootstrap.suggest":"dist/bootstrap/bootstrap-suggest.min",bootbox:"dist/bootbox/bootbox.min",sweet:"dist/sweetalert/sweetalert.min",select2:"dist/select2/select2.min","jquery.confirm":"dist/jquery/confirm/jquery-confirm","jquery.contextMenu":"dist/jquery/contextMenu/jquery.contextMenu",switchery:"dist/switchery/switchery",echarts:"dist/echarts/echarts-all","echarts.min":"dist/echarts/echarts.min",toast:"dist/jquery/toastr.min",clipboard:"dist/clipboard.min",tpl:"dist/tmodjs",daterangepicker:"dist/daterangepicker/daterangepicker",datetimepicker:"dist/datetimepicker/jquery.datetimepicker",ueditor:"dist/ueditor/ueditor.parse.min",tooltipbox:"dist/tooltipbox",moment:"dist/moment/moment",drag:"drag"},/**913702023503242914**/map:{js:".js?v="+version,css:".css?v="+version},css:{"jquery.confirm":"dist/jquery/confirm/jquery-confirm",sweet:"dist/sweetalert/sweetalert",select2:"dist/select2/select2,dist/select2/select2-bootstrap","jquery.nestable":"dist/jquery/nestable/nestable","jquery.contextMenu":"dist/jquery/contextMenu/jquery.contextMenu",daterangepicker:"dist/daterangepicker/daterangepicker",datetimepicker:"dist/datetimepicker/jquery.datetimepicker",ueditor:"dist/ueditor/themes/default/css/ueditor.min",switchery:"dist/switchery/switchery"},preload:["jquery"]},myrequire=function(e,t){var s=[];$.each(e,function(){var e=this;myconfig.css[e]&&(t=myconfig.css[e].split(","),$.each(t,function(){void 0===myrequire.systemVersion||"1.0.0"===myrequire.systemVersion||myrequire.systemVersion<="0.8"?s.push("css!"+myconfig.path+this+myconfig.map.css):s.push("loadcss!"+myconfig.path+this+myconfig.map.css)}));var t=this;myconfig.alias[e]&&(t=myconfig.alias[e]),s.push(myconfig.path+t+myconfig.map.js)}),require(s,t)};