Permalink
Browse files

docs

  • Loading branch information...
1 parent 1284602 commit cef11c769bb2537f3de1df75e6c073184ca8f614 @tj tj committed Sep 24, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 index.js
View
@@ -30,6 +30,13 @@ function Preloader(urls) {
inherit(Preloader, Batch);
+/**
+ * Preload the given image `url`.
+ *
+ * @param {String} url
+ * @api public
+ */
+
Preloader.prototype.add = function(url){
this.urls.push(url);
this.push(function(done){

0 comments on commit cef11c7

Please sign in to comment.