I hereby claim:
- I am toaotc on github.
- I am toaotc (https://keybase.io/toaotc) on keybase.
- I have a public key ASAzEvOXkaROuYN1UNRabvFumorWVe9MNt3WMKOH_UZT_Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
(function($) { | |
$.fn.scoreboard = function(config) { | |
config = $.extend({}, $.fn.scoreboard.defaults, config); | |
config.chars = config.chars.split(''); | |
var charcode_map = {}; | |
$.each(config.chars, function(i, el) { | |
charcode_map[el] = i; | |
}); | |
(function($) { | |
$.fn.src = function(uri, callback) { | |
return this.each(function() { | |
var $this = $(this); | |
$this.attr('src', 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw=='); | |
$this.one('load', callback); | |
$this.attr('src', uri); | |
}) | |
} | |
})(jQuery); |