Sha256: a589f931fbe5abe7ff009840306ed93ddeabbe2281ef3538ce6cc206e7a13b11
Contents?: true
Size: 398 Bytes
Versions: 16
Compression:
Stored size: 398 Bytes
Contents
/*global Application */ ;(function($){ $.preload = function(imgs) { $.assert($.isArray(imgs), '$.preload only accepts an array.'); imgs.forEach(function(src) { if (src.indexOf('http://') === -1) { src = Application.params.imageHost + src; } var image = new Image(); image.src = src; }); }; })(Zepto);
Version data entries
16 entries across 16 versions & 1 rubygems