-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
I remember that just pasting the raven-js code into the Chrome console would cause Raven to be added to window, but now that doesn't work. Even doing something like this doesn't result in window.Raven being defined.
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)){ return; }
js = d.createElement(s); js.id = id;
js.onload = function(){
// remote script has loaded
};
js.src = "//cdn.ravenjs.com/3.1.0/raven.min.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'raven-js'));
Is this intended or am I doing something wrong?
Metadata
Metadata
Assignees
Labels
No labels