move images.http to extra so it can use images.viewer, fix load-http-image
parent
63c7652de9
commit
5b924ff910
|
|
@ -1,7 +0,0 @@
|
|||
! Copyright (C) 2009 Doug Coleman.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: http.client images.loader images.loader.private kernel ;
|
||||
IN: images.http
|
||||
|
||||
: load-http-image ( path -- image )
|
||||
[ http-get nip ] [ image-class new ] bi load-image* ;
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
! Copyright (C) 2009 Doug Coleman.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: http.client images.loader images.loader.private kernel
|
||||
images.viewer ;
|
||||
IN: images.http
|
||||
|
||||
: load-http-image ( path -- image )
|
||||
[ http-get nip ] [ image-class ] bi load-image* ;
|
||||
|
||||
: http-image. ( path -- )
|
||||
load-http-image image. ;
|
||||
Loading…
Reference in New Issue