MCPcopy
hub / github.com/Semantic-Org/Semantic-UI / copyAttrs

Function copyAttrs

test/helpers/sinon.js:3614–3622  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

3612 });
3613
3614 var copyAttrs = function(args) {
3615 each(args, function(attr) {
3616 try {
3617 fakeXhr[attr] = xhr[attr]
3618 } catch(e) {
3619 if(!IE6Re.test(navigator.userAgent)) throw e;
3620 }
3621 });
3622 };
3623
3624 var stateChange = function() {
3625 fakeXhr.readyState = xhr.readyState;

Callers 1

stateChangeFunction · 0.85

Calls 1

eachFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…