@pronto-tools-and-more/files 12.28.0 → 12.29.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,24 @@
1
+ if (!globalThis.HACK__NORMAL_HTML_ELEMENTS_LOADED) {
2
+ globalThis.HACK__NORMAL_HTML_ELEMENTS_LOADED = 1;
3
+ globalThis.HACK__NORMAL_HTML_ELEMENTS_CHECK = (that) => {
4
+ if (that.baseConfig.tag === "x/💩") {
5
+ that.baseConfig.tag = "div";
6
+ that.isPoop = true;
7
+ }
8
+ };
9
+ globalThis.HACK__NORMAL_HTML_ELEMENTS_CHECK_2 = (that) => {
10
+ if (that.config.tag === "x/💩") {
11
+ that.config.tag = "div";
12
+ that.isPoop = true;
13
+ }
14
+ };
15
+ globalThis.HACK__NORMAL_HTML_ELEMENTS_RENDER = (that) => {
16
+ that.isPoop &&
17
+ (() => {
18
+ // console.log("fuck off", e.elementRef.);
19
+ const actual = that.elementRef.nativeElement.firstChild;
20
+ const parent = that.elementRef.nativeElement.parentNode;
21
+ parent.replaceWith(actual);
22
+ })();
23
+ };
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/files",
3
- "version": "12.28.0",
3
+ "version": "12.29.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {},