Merge branch 'master' of git://factorcode.org/git/factor

db4
unknown 2008-11-17 18:48:41 -06:00
commit 53707a33ee
3 changed files with 9 additions and 9 deletions

View File

@ -6,7 +6,7 @@ HELP: enable-compiler
{ $description "Enables the optimizing compiler." } ;
HELP: disable-compiler
{ $description "Enables the optimizing compiler." } ;
{ $description "Disable the optimizing compiler." } ;
ARTICLE: "compiler-usage" "Calling the optimizing compiler"
"Normally, new word definitions are recompiled automatically. This can be changed:"

View File

@ -115,10 +115,10 @@ M: result link-href href>> ;
[ [ title>> ] compare ] sort ;
: article-apropos ( string -- results )
"articles.idx" temp-file offline-apropos ;
"articles.idx" offline-apropos ;
: word-apropos ( string -- results )
"words.idx" temp-file offline-apropos ;
"words.idx" offline-apropos ;
: vocab-apropos ( string -- results )
"vocabs.idx" temp-file offline-apropos ;
"vocabs.idx" offline-apropos ;

View File

@ -16,11 +16,11 @@ TUPLE: help-webapp < dispatcher ;
{ "search" [ 1 v-min-length 50 v-max-length v-one-line ] }
} validate-params
help-dir set-current-directory
"search" value article-apropos "articles" set-value
"search" value word-apropos "words" set-value
"search" value vocab-apropos "vocabs" set-value
help-dir [
"search" value article-apropos "articles" set-value
"search" value word-apropos "words" set-value
"search" value vocab-apropos "vocabs" set-value
] with-directory
{ help-webapp "search" } <chloe-content>
] >>submit ;