Merge branch 'master' of git://factorcode.org/git/factor
commit
53707a33ee
|
@ -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:"
|
||||
|
|
|
@ -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 ;
|
||||
|
|
|
@ -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 ;
|
||||
|
|
Loading…
Reference in New Issue