Commit 5d41e451 authored by wildfirecode13's avatar wildfirecode13

Merge branch 'master' of gitlab2.dui88.com:wildfirecode13/testspark317

parents c8940c5a 3811b321
......@@ -31,5 +31,5 @@ class HtmlJsToES5Plugin {
}
}
exports.default = HtmlJsToES5Plugin;
module.exports = exports['default'];
// exports.default = HtmlJsToES5Plugin;
module.exports = HtmlJsToES5Plugin;
const path = require('path');
const fs = require("fs");
const HtmlJsToES5Plugin = require("./HtmlJsToES5Plugin");
const { SPARK_CONFIG_DIR_KEY, SPARK_CONFIG } = require('./scripts/constant');
const HtmlWebpackPlugin = require("html-webpack-plugin");
......
......@@ -38,8 +38,8 @@
function getUrlParam(name) {
var search = window.location.search;
var matched = search
.slice(1)
.match(new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'));
.slice(1)
.match(new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'));
return search.length ? matched && matched[2] : null;
}
......@@ -48,6 +48,18 @@
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}
</script>
<script>
async function a (){
}
async function b (){
await a();
}
b();
</script>
</head>
<body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment