Created
October 10, 2012 19:11
-
-
Save KelSolaar/3867760 to your computer and use it in GitHub Desktop.
Crittercism Ramblings
This file contains 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> | |
<title>Example Document without Crittercism</title> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script type="text/javascript" src="https://d1a62freaxhn7x.cloudfront.net/v1/crittercismClientLibraryMin.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
Crittercism.init({ | |
appId : '5075c158d5f9b9796b000002', // Example: 47cc67093475061e3d95369d | |
appVersion : '1.0', // Developer-provided application version | |
}); | |
// Initialize event handlers here | |
}); | |
</script> | |
</head> | |
<body> | |
<p> | |
This document uses the Crittercism HTML5 library. | |
</p> | |
<script type="text/javascript"> | |
try { | |
JSON.parse('Exception raised!'); | |
} catch(e) { | |
document.write("Exception raised!"); | |
Crittercism.logHandledException(e); | |
} | |
throw "Another exception!"; | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment