@cntwg/html-helper 0.0.23 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/LICENSE +1 -1
- package/lib/html-ctrls/mod-hfunc.js +2 -4
- package/lib/html-helper-lib.js +3 -7
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2019-
|
|
3
|
+
Copyright (c) 2019-2025 Yuri Grachev
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// [v0.1.
|
|
1
|
+
// [v0.1.063-20250220]
|
|
2
2
|
|
|
3
3
|
// === module init block ===
|
|
4
4
|
|
|
@@ -42,9 +42,7 @@ function readOnClickEventInfo(e) {
|
|
|
42
42
|
item = e.currentTarget;
|
|
43
43
|
break;
|
|
44
44
|
}
|
|
45
|
-
default: {
|
|
46
|
-
break;
|
|
47
|
-
}
|
|
45
|
+
default: {}
|
|
48
46
|
};
|
|
49
47
|
return { item, onClickNum };
|
|
50
48
|
};
|
package/lib/html-helper-lib.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// [v0.1.
|
|
1
|
+
// [v0.1.037-20250220]
|
|
2
2
|
|
|
3
3
|
// === module init block ===
|
|
4
4
|
|
|
@@ -273,9 +273,7 @@ function unlockHTMLElement(obj) {
|
|
|
273
273
|
obj.disabled = false;
|
|
274
274
|
break;
|
|
275
275
|
}
|
|
276
|
-
default: {
|
|
277
|
-
break;
|
|
278
|
-
}
|
|
276
|
+
default: {}
|
|
279
277
|
};
|
|
280
278
|
};
|
|
281
279
|
return isSUCCEED;
|
|
@@ -391,9 +389,7 @@ function readAsAttrValue(value) {
|
|
|
391
389
|
result = value.trim();
|
|
392
390
|
break;
|
|
393
391
|
}
|
|
394
|
-
default: {
|
|
395
|
-
break;
|
|
396
|
-
}
|
|
392
|
+
default: {}
|
|
397
393
|
};
|
|
398
394
|
return result;
|
|
399
395
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cntwg/html-helper",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"description": "A base HTML-helper library for js",
|
|
5
5
|
"author": "ygracs <cs70th-om@rambler.ru>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"#test-dir/*": "./__test__/*"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@ygracs/bsfoc-lib-js": "^0.2.
|
|
55
|
+
"@ygracs/bsfoc-lib-js": "^0.2.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"jest": "^29.7.0",
|
|
59
59
|
"jest-environment-jsdom": "^29.7.0",
|
|
60
|
-
"jsdoc-to-markdown": "^9.
|
|
60
|
+
"jsdoc-to-markdown": "^9.1.1",
|
|
61
61
|
"minimist": "^1.2.8"
|
|
62
62
|
}
|
|
63
63
|
}
|