Created
April 25, 2012 18:01
-
-
Save rniwa/2491709 to your computer and use it in GitHub Desktop.
safari ajax failure reduction attempt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="jquery-min.js"></script> | |
</head> | |
<body> | |
<script> | |
$.ajax({url: 'jquery.js'}).done(function () { | |
alert('PASS'); | |
}); | |
var script = document.getElementsByTagName('head')[0]; | |
script.parentNode.removeChild(script); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment