把前端从CircuitVerse中拆了出来

This commit is contained in:
zhbaor 2022-01-23 17:33:42 +08:00
commit 5bf1284599
2182 changed files with 189323 additions and 0 deletions

4
public/js/utils.js Normal file
View file

@ -0,0 +1,4 @@
// To strip tags from input
function stripTags(string="") {
return string.replace(/(<([^>]+)>)/ig, '').trim();
}