MCPcopy
hub / github.com/imakewebthings/deck.js / tryIt

Function tryIt

test/lib/jasmine.js:593–599  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

591// Provide the XMLHttpRequest class for IE 5.x-6.x:
592jasmine.XmlHttpRequest = (typeof XMLHttpRequest == "undefined") ? function() {
593 function tryIt(f) {
594 try {
595 return f();
596 } catch(e) {
597 }
598 return null;
599 }
600
601 var xhr = tryIt(function() {
602 return new ActiveXObject("Msxml2.XMLHTTP.6.0");

Callers 1

jasmine.jsFile · 0.85

Calls 1

fFunction · 0.50

Tested by

no test coverage detected