Created
April 1, 2013 22:48
-
-
Save brianr/5288423 to your computer and use it in GitHub Desktop.
bare bones rollbar test page
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
| <html> | |
| <head> | |
| <script> | |
| var _rollbarParams = {"server.environment": "production"}; | |
| _rollbarParams["notifier.snippet_version"] = "2"; var _rollbar=["client-side-token-here", _rollbarParams]; var _ratchet=_rollbar; | |
| (function(w,d){w.onerror=function(e,u,l){_rollbar.push({_t:'uncaught',e:e,u:u,l:l});};var i=function(){var s=d.createElement("script");var | |
| f=d.getElementsByTagName("script")[0];s.src="//d37gvrvc0wt4s1.cloudfront.net/js/1/rollbar.min.js";s.async=!0; | |
| f.parentNode.insertBefore(s,f);};if(w.addEventListener){w.addEventListener("load",i,!1);}else{w.attachEvent("onload",i);}})(window,document); | |
| </script> | |
| </head> | |
| <body> | |
| Hi | |
| </body> | |
| </html> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How I'm using this:
python -m SimpleHTTPServer 8000javascript:testing_123();in the address bar, and check the Console and Network tabs.