diff --git a/contrib/cont-responder/cont-examples.factor b/contrib/cont-responder/cont-examples.factor index 42303c101a..df6653deca 100644 --- a/contrib/cont-responder/cont-examples.factor +++ b/contrib/cont-responder/cont-examples.factor @@ -41,7 +41,7 @@ USE: sequences #! The page has a link to the 'next' continuation. [ swap [ - "Next" write + "Next" write ] html-document ] show drop drop ; @@ -49,10 +49,10 @@ USE: sequences #! Display a page prompting for input of a name and return that name. [ "Enter your name" [ -
+ "Name: " write - - + +
] html-document ] show [ diff --git a/contrib/cont-responder/cont-numbers-game.factor b/contrib/cont-responder/cont-numbers-game.factor index a379efb86b..060084016f 100644 --- a/contrib/cont-responder/cont-numbers-game.factor +++ b/contrib/cont-responder/cont-numbers-game.factor @@ -50,7 +50,7 @@ USE: namespaces write

write

-

"Press to continue" write

+

"Press to continue" write

] show 2drop ; @@ -60,11 +60,11 @@ USE: namespaces "Enter a number" write -
+

"Enter a number:" write - - + +

diff --git a/contrib/cont-responder/eval-responder.factor b/contrib/cont-responder/eval-responder.factor index b6a5ce4b81..335ca5c715 100644 --- a/contrib/cont-responder/eval-responder.factor +++ b/contrib/cont-responder/eval-responder.factor @@ -55,15 +55,15 @@ USE: sequences : display-eval-form ( url -- ) #! Display the components for allowing entry of #! factor words to be evaluated. -
+ [ [ - ] [ - + ] ] vertical-layout
@@ -83,11 +83,11 @@ USE: sequences : write-eval-link ( string -- ) #! Given text to evaluate, create an A HREF link which when #! clicked sets the eval textarea to that value. - write ; + write ; : display-stack ( list -- ) #! Write out html to display the stack. - +
[ ] each
"Callstack" write
[ unparse write ] string-out write-eval-link
; @@ -101,7 +101,7 @@ USE: sequences : display-history ( list -- ) #! Write out html to display the history. - +
[ ] each
"History" write display-clear-history-link
write-eval-link
; @@ -117,12 +117,12 @@ USE: sequences dup dup {{ }} clone [ "browser" "responder" set - - - +
"Source" write
[ [ parse ] catch [ "No such word" write ] [ car see ] if ] with-simple-html-output
+ + - - + +
"Source" write
[ [ parse ] catch [ "No such word" write ] [ car see ] if ] with-simple-html-output
"Apropos" write "Usages" write
[ apropos ] with-simple-html-output [ [ parse ] catch [ "No such word" write ] [ car usages. ] if ] with-simple-html-output
[ apropos ] with-simple-html-output [ [ parse ] catch [ "No such word" write ] [ car usages. ] if ] with-simple-html-output
] bind ; @@ -137,13 +137,13 @@ USE: sequences "see" [ html-for-word-source ] live-search ] [ -
"" write
+
"" write
] ] vertical-layout ; : display-last-output ( string -- ) #! Write out html to display the last output. - +
"Last Output" write
 write 
; diff --git a/contrib/cont-responder/live-updater-responder.factor b/contrib/cont-responder/live-updater-responder.factor index 23800ba7d5..b2cf0f78bb 100644 --- a/contrib/cont-responder/live-updater-responder.factor +++ b/contrib/cont-responder/live-updater-responder.factor @@ -58,7 +58,7 @@ USE: prettyprint [ [ "millis" [ millis pprint ] "Display Server millis" live-anchor -
+
"The millisecond time from the server will appear here" write
] @@ -67,7 +67,7 @@ USE: prettyprint "apropos" [ live-search-apropos-word ] live-search ] [ -
+
"" write
] diff --git a/contrib/cont-responder/live-updater.factor b/contrib/cont-responder/live-updater.factor index 12021a6ae7..7819c3e4bc 100644 --- a/contrib/cont-responder/live-updater.factor +++ b/contrib/cont-responder/live-updater.factor @@ -51,7 +51,7 @@ USE: lists : include-live-updater-js ( -- ) #! Write out the HTML script to include the live updater #! javascript code. - ; @@ -61,7 +61,7 @@ USE: lists #! an onclick is set via DHTML later to make it run a #! quotation on the server. The randomly generated id #! for the anchor is returned. - + swap write ; @@ -78,7 +78,7 @@ USE: lists [ t "disable-initial-redirect?" set [ -
"div-quot" get call
+
"div-quot" get call
] show ] bind ] cons t swap register-continuation ; @@ -91,7 +91,7 @@ USE: lists #! in a 'div' tag with the 'div-id'. That 'div' tag will #! replace whatever HTML DOM object currently has that same #! id. -