This commit is contained in:
shenjack 2024-03-24 16:20:39 +08:00
parent e46b4ce05e
commit 670b8c2d4c
Signed by: shenjack
GPG Key ID: 7B1134A979775551

15
md5.js
View File

@ -1016,11 +1016,14 @@
} }
throw H.throw_error(new P.kG("Unsupported number of arguments for wrapped closure")) throw H.throw_error(new P.kG("Unsupported number of arguments for wrapped closure"))
}, },
// MARK: convert_dart_closure_to_js_md5
// convertDartClosureToJS
cU(a, b) { cU(a, b) {
var s var s
if (a == null) return null if (a == null) return null
s = a.$identity s = a.$identity
if (!!s) return s // if (!!s) return s
if (s) return s
s = function (c, d, e) { s = function (c, d, e) {
return function (f, g, h, i) { return function (f, g, h, i) {
return e(c, d, f, g, h, i) return e(c, d, f, g, h, i)
@ -11335,11 +11338,13 @@
$io: 1 $io: 1
} }
W.fn.prototype = { W.fn.prototype = {
eF(a, b, c, d) { eF(receiver, type, listener, listener) {
if (c != null) this.eb(a, b, c, false) if (listener != null) {
this.add_event_listener(receiver, type, listener, false)
}
}, },
eb(a, b, c, d) { add_event_listener(receiver, b, c, d) {
return a.addEventListener(b, H.cU(c, 1), false) return receiver.addEventListener(b, H.cU(c, 1), false)
} }
} }
W.cq.prototype = { W.cq.prototype = {