MCPcopy Index your code
hub / github.com/dataease/SQLBot / bb

Function bb

frontend/public/swagger-ui-bundle.js:8705–8720  ·  view source on GitHub ↗
(s, o)

Source from the content-addressed store, hash-verified

8703 null != (o = o.checked) && ta(s, 'checked', o, !1)
8704 }
8705 function bb(s, o) {
8706 ab(s, o)
8707 var i = Sa(o.value),
8708 a = o.type
8709 if (null != i)
8710 'number' === a
8711 ? ((0 === i && '' === s.value) || s.value != i) && (s.value = '' + i)
8712 : s.value !== '' + i && (s.value = '' + i)
8713 else if ('submit' === a || 'reset' === a) return void s.removeAttribute('value')
8714 ;(o.hasOwnProperty('value')
8715 ? cb(s, o.type, i)
8716 : o.hasOwnProperty('defaultValue') && cb(s, o.type, Sa(o.defaultValue)),
8717 null == o.checked &&
8718 null != o.defaultChecked &&
8719 (s.defaultChecked = !!o.defaultChecked))
8720 }
8721 function db(s, o, i) {
8722 if (o.hasOwnProperty('value') || o.hasOwnProperty('defaultValue')) {
8723 var a = o.type

Callers 2

dkFunction · 0.70

Calls 3

abFunction · 0.70
SaFunction · 0.70
cbFunction · 0.70

Tested by

no test coverage detected