assign-gingerly 0.0.70 โ 0.0.71
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/DX/emojis.js +4 -1
- package/DX/emojis.ts +4 -1
- package/package.json +1 -1
package/DX/emojis.js
CHANGED
|
@@ -34,11 +34,14 @@ export const akaMethods = {
|
|
|
34
34
|
'๐งบ': 'querySelectorAll',
|
|
35
35
|
'+': 'add',
|
|
36
36
|
'๐งฌ': 'cloneNode',
|
|
37
|
-
'๐ค': 'textContent',
|
|
38
37
|
};
|
|
39
38
|
export const aka = {
|
|
40
39
|
'ยฉ๏ธ': 'content?.cloneNode?.true',
|
|
41
40
|
//'๐': 'clone?.querySelector'
|
|
41
|
+
// textContent is a property, not a method โ aliasing it via akaMethods
|
|
42
|
+
// would add it to withMethods and turn `?.textContent` assignments into
|
|
43
|
+
// silently-skipped method calls.
|
|
44
|
+
'๐ค': 'textContent',
|
|
42
45
|
};
|
|
43
46
|
export const emojis = {
|
|
44
47
|
builtInEmoji,
|
package/DX/emojis.ts
CHANGED
|
@@ -36,12 +36,15 @@ export const akaMethods: Record<string, string> = {
|
|
|
36
36
|
'๐งบ': 'querySelectorAll',
|
|
37
37
|
'+': 'add',
|
|
38
38
|
'๐งฌ': 'cloneNode',
|
|
39
|
-
'๐ค': 'textContent',
|
|
40
39
|
};
|
|
41
40
|
|
|
42
41
|
export const aka: Record<string, string> = {
|
|
43
42
|
'ยฉ๏ธ': 'content?.cloneNode?.true',
|
|
44
43
|
//'๐': 'clone?.querySelector'
|
|
44
|
+
// textContent is a property, not a method โ aliasing it via akaMethods
|
|
45
|
+
// would add it to withMethods and turn `?.textContent` assignments into
|
|
46
|
+
// silently-skipped method calls.
|
|
47
|
+
'๐ค': 'textContent',
|
|
45
48
|
};
|
|
46
49
|
|
|
47
50
|
|
package/package.json
CHANGED