wujie-event-scope 1.0.5 → 1.0.6
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/dist/index.cjs.js +0 -2
- package/dist/index.es.js +0 -2
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +0 -2
package/dist/index.cjs.js
CHANGED
|
@@ -6709,8 +6709,6 @@ function patchElementHook(element) {
|
|
|
6709
6709
|
const originHTMLClickEvent = element.onclick;
|
|
6710
6710
|
const originAttributeEventStr = targetHaveGetAttribute ? element.getAttribute('onclick') : '';
|
|
6711
6711
|
if (targetHaveGetAttribute && element.getAttribute('data-test-scope')) {
|
|
6712
|
-
// @ts-ignore
|
|
6713
|
-
console.log('===子应用window', window.__WUJIE.proxy);
|
|
6714
6712
|
console.log('===HTML事件绑定', originHTMLClickEvent);
|
|
6715
6713
|
console.log('===attribute获取事件', originAttributeEventStr);
|
|
6716
6714
|
}
|
package/dist/index.es.js
CHANGED
|
@@ -6707,8 +6707,6 @@ function patchElementHook(element) {
|
|
|
6707
6707
|
const originHTMLClickEvent = element.onclick;
|
|
6708
6708
|
const originAttributeEventStr = targetHaveGetAttribute ? element.getAttribute('onclick') : '';
|
|
6709
6709
|
if (targetHaveGetAttribute && element.getAttribute('data-test-scope')) {
|
|
6710
|
-
// @ts-ignore
|
|
6711
|
-
console.log('===子应用window', window.__WUJIE.proxy);
|
|
6712
6710
|
console.log('===HTML事件绑定', originHTMLClickEvent);
|
|
6713
6711
|
console.log('===attribute获取事件', originAttributeEventStr);
|
|
6714
6712
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAqCA,iBAAS,gBAAgB,CAAC,OAAO,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAqCA,iBAAS,gBAAgB,CAAC,OAAO,EAAE,WAAW,QAqB7C;;;;AAED,wBAEE"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -40,8 +40,6 @@ function patchElementHook(element: HTMLElement) {
|
|
|
40
40
|
const originHTMLClickEvent = element.onclick;
|
|
41
41
|
const originAttributeEventStr = targetHaveGetAttribute ? element.getAttribute('onclick') : ''
|
|
42
42
|
if (targetHaveGetAttribute && element.getAttribute('data-test-scope')) {
|
|
43
|
-
// @ts-ignore
|
|
44
|
-
console.log('===子应用window', window.__WUJIE.proxy)
|
|
45
43
|
console.log('===HTML事件绑定', originHTMLClickEvent)
|
|
46
44
|
console.log('===attribute获取事件', originAttributeEventStr)
|
|
47
45
|
}
|