Skip to content

Instantly share code, notes, and snippets.

@karolisdzeja
karolisdzeja / 0_reuse_code.js
Created January 20, 2014 15:13
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@karolisdzeja
karolisdzeja / gist:8010574
Last active March 13, 2019 13:41
Load Raven async
(function(w){
if (typeof Raven == 'undefined') {
w._r = w._r || [];
w.onerror = function e(msg, url, ln) {
w._r.push([msg, url, ln]);
}
}
})(window)
function loadJS(src, callback) {