diff --git a/apps/furnace-fjsc/furnace-fjsc.factor b/apps/furnace-fjsc/furnace-fjsc.factor index a065bb5623..1105682032 100644 --- a/apps/furnace-fjsc/furnace-fjsc.factor +++ b/apps/furnace-fjsc/furnace-fjsc.factor @@ -70,7 +70,7 @@ USING: kernel html furnace xml io httpd sequences ! the 'fjsc' responder. "fjsc-resources" [ [ - "apps/furnace-fjsc/resources/" resource-path "doc-root" set + "libs/fjsc/resources/" resource-path "doc-root" set file-responder ] with-scope ] add-simple-responder diff --git a/apps/furnace-fjsc/repl.fhtml b/apps/furnace-fjsc/repl.fhtml index 106ebc2893..3f6b842458 100644 --- a/apps/furnace-fjsc/repl.fhtml +++ b/apps/furnace-fjsc/repl.fhtml @@ -1,11 +1,36 @@ +
-
-
+
-
\ No newline at end of file
+
+ |
+
+ More information on the Factor to Javascript compiler can be found at these blog posts:" + + +Some useful words: +
The contents of bootstrap.factor have been loaded on startup. + |
+
" + result + ""; + document.getElementById('compiled').value=result; document.getElementById('code').value=""; var func = eval(result); factor.cont.next = function() { self.display_datastack(); } diff --git a/apps/furnace-fjsc/resources/jquery.js b/libs/fjsc/resources/jquery.js similarity index 100% rename from apps/furnace-fjsc/resources/jquery.js rename to libs/fjsc/resources/jquery.js