]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/slides/slides.factor
Updating code to use CONSTANT: instead of : foo 123 ; inline
[factor.git] / extra / slides / slides.factor
index 0ce946dc49e409e84c96cb2a8b3b71aa1238f0aa..ba21ba9c84180d87e78e6c25a7cfcf6f5cb33b13 100755 (executable)
@@ -6,7 +6,7 @@ ui.gadgets.books ui.gadgets.panes ui.gestures ui.render
 parser accessors colors ;
 IN: slides
 
-: stylesheet
+CONSTANT: stylesheet
     H{
         { default-span-style
             H{
@@ -40,7 +40,7 @@ IN: slides
             H{ { table-gap { 10 20 } } }
         }
         { bullet "\u0000b7" }
-    } ;
+    }
 
 : $title ( string -- )
     [ H{ { font "sans-serif" } { font-size 48 } } format ] ($block) ;