Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (7 sloc) 259 Bytes
An.object().named('Image').plural('Images').from(Widget,Resource).
does('init', function(Url) {
return this.clone().load('img',Url).instance()
}).
does('draw', function() {
Screen.at(this.x(),this.y()).by(this.width(),this.height()).draw(this)
})