MCPcopy Index your code
hub / github.com/clips/pattern / cb

Function cb

pattern/canvas.js:3512–3521  ·  view source on GitHub ↗
(e, propagate)

Source from the content-addressed store, hash-verified

3510 // Fix callback event and event.target on IE8 and Safari2.
3511 // Function does nothing when propagate=false.
3512 var cb = function(e, propagate) {
3513 if (!e)
3514 e = window.event;
3515 if (!e.target)
3516 e.target = e.srcElement || document;
3517 if (e.target.nodeType === 3)
3518 e.target = e.target.parentNode;
3519 if (o.callback && propagate != false)
3520 o.callback(e);
3521 }
3522 // <input type="text" id="id" value="" />
3523 if (type == STRING || type == TEXT) {
3524 var s = "<input type='text' id='"+v+"' value='"+(o.value||"").replace(/'/g,"&#39;")+"' />";

Callers 2

fFunction · 0.85
widgetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected