docs: function (url, repeat) {
  		this.__image = url;
  		this._repeat = repeat || "no-repeat";
  
  		this.img = Crafty.asset(url);
  		if (!this.img) {
  			this.img = new Image();
  			Crafty.asset(url, this.img);
  			this.img.src = url;
  			var self = this;
  
  			this.img.onload = function () {
  				if (self.has("Canvas")) self._pattern = Crafty.canvas.context.createPattern(self.img, self._repeat);
  				self.ready = true;
  
  				if (self._repeat === "no-repeat") {
  					self.w = self.img.width;
  					self.h = self.img.height;
  				}
  
  				self.trigger("Change");
  			};
  
  			return this;
  		} else {
  			this.ready = true;
  			if (this.has("Canvas")) this._pattern = Crafty.canvas.context.createPattern(this.img, this._repeat);
  			if (this._repeat === "no-repeat") {
  				this.w = this.img.width;
  				this.h = this.img.height;
  			}
  		}
  
  
  		this.trigger("Change");
  
  		return this;
  	}