Process JS files with gulp

This commit is contained in:
Cotes Chung
2021-01-23 15:07:18 +08:00
parent 0e9104a58f
commit da9f7b8218
37 changed files with 380 additions and 326 deletions

View File

@@ -10,8 +10,8 @@ function copyLink(url) {
if (!url || 0 === url.length) {
url = window.location.href;
}
var $temp = $("<input>");
const $temp = $("<input>");
$("body").append($temp);
$temp.val(url).select();
document.execCommand("copy");