上传文件至 'js/lib'

This commit is contained in:
ygfxz 2023-10-23 14:52:37 +00:00
parent 775d08717b
commit f3600b805a
4 changed files with 41 additions and 43 deletions

2
js/lib/drpy.min.js vendored

File diff suppressed because one or more lines are too long

2
js/lib/drpy2.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,3 @@
/***
* gbk编码解码函数
* strTool = gbkTool() strTool.encode(key)
* @returns {{encode: (function(*): *), decode: (function(*): *)}}
*/
export function gbkTool() {
var data = function(zipData) {
var re = zipData
@ -36,9 +31,11 @@ export function gbkTool(){
G2Uhash[U2Ghash[key]] = key;
}
}(data);
function isAscii(unicode) {
return ((unicode == 0x20AC) || (unicode <= 0x007F && unicode >= 0x0000));
}
return {
encode: function(str) {
return str.replace(/./g, function(a) {

1
js/lib/lf_live10_min.js Normal file

File diff suppressed because one or more lines are too long