MCPcopy Index your code
hub / github.com/mailru/FileAPI / saveGlobal

Function saveGlobal

tests/qunit/qunit.js:1432–1444  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1430}
1431
1432function saveGlobal() {
1433 config.pollution = [];
1434
1435 if ( config.noglobals ) {
1436 for ( var key in window ) {
1437 // in Opera sometimes DOM element ids show up here, ignore them
1438 if ( !hasOwn.call( window, key ) || /^qunit-test-output/.test( key ) ) {
1439 continue;
1440 }
1441 config.pollution.push( key );
1442 }
1443 }
1444}
1445
1446function checkPollution() {
1447 var newGlobals,

Callers 2

qunit.jsFile · 0.85
checkPollutionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected