MCPcopy
hub / github.com/fabien-d/alertify.js / extend

Function extend

test/qunit/qunit.js:1294–1306  ·  view source on GitHub ↗
( a, b )

Source from the content-addressed store, hash-verified

1292}
1293
1294function extend( a, b ) {
1295 for ( var prop in b ) {
1296 if ( b[ prop ] === undefined ) {
1297 delete a[ prop ];
1298
1299 // Avoid "Member not found" error in IE8 caused by setting window.constructor
1300 } else if ( prop !== "constructor" || a !== window ) {
1301 a[ prop ] = b[ prop ];
1302 }
1303 }
1304
1305 return a;
1306}
1307
1308function addEvent( elem, type, fn ) {
1309 if ( elem.addEventListener ) {

Callers 2

TestFunction · 0.85
qunit.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…