]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/furnace/boilerplate/boilerplate.factor
factor: trim using lists
[factor.git] / basis / furnace / boilerplate / boilerplate.factor
index 84b29bf831f1af0be6bdc1c480ebaab954663f77..9f4ea648ee7e9ccde8d087b4478672aa2e4ecd0b 100644 (file)
@@ -1,10 +1,9 @@
 ! Copyright (c) 2008, 2009 Slava Pestov
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel math.order namespaces combinators.short-circuit call
+USING: accessors kernel math.order namespaces combinators.short-circuit
 html.forms
 html.templates
 html.templates.chloe
-locals
 http.server
 http.server.filters
 furnace.utilities ;
@@ -20,7 +19,7 @@ TUPLE: boilerplate < filter-responder template init ;
 : wrap-boilerplate? ( response -- ? )
     { [ code>> 200 = ] [ content-type>> "text/html" = ] } 1&& ;
 
-M:: boilerplate call-responder* ( path responder -- )
+M:: boilerplate call-responder* ( path responder -- response )
     begin-form
     path responder call-next-method
     responder init>> call( -- )