Skip to content

Instantly share code, notes, and snippets.

@rekkusu
rekkusu / 0_reuse_code.js
Last active September 2, 2015 08:22
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
@rekkusu
rekkusu / load.js
Created August 17, 2011 15:50 — forked from KOBA789/load.js
こばのなにかひどいなにかを動作確認しないで書き換えてみた
var load = new (function () {
var count = 0;
var next = function () {}
var callback = function () {
count --;
if (count <= 0) {
next();
}
}
self = this;