]> gitweb.factorcode.org Git - factor.git/commitdiff
html.streams: rename image-path to icon-path
authorDoug Coleman <doug.coleman@gmail.com>
Mon, 20 Jul 2015 07:10:56 +0000 (00:10 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Mon, 20 Jul 2015 07:10:56 +0000 (00:10 -0700)
basis/html/streams/streams.factor

index 82f87f4f87eb01def9c1a93d05eb83d298b398fe..abe507c5d9b69370c3e5374b1747c8edc1c0a39e 100644 (file)
@@ -77,11 +77,11 @@ MACRO: make-css ( pairs -- str )
 : emit-html ( stream quot -- )
     dip data>> push ; inline
 
-: image-path ( path -- images-path )
+: icon-path ( path -- icons-path )
     "vocab:definitions/icons/" ?head [ "/icons/" prepend ] when ;
 
 : img-tag ( xml style -- xml )
-    image of [ nip image-path simple-image ] when* ;
+    image of [ nip icon-path simple-image ] when* ;
 
 : format-html-span ( string style stream -- )
     [