]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/webapps/fjsc/fjsc.factor
http.client: remove http-get* and its friends, change http-request* and with-http...
[factor.git] / extra / webapps / fjsc / fjsc.factor
index 6901ea05643c5ea0b3a423e76113d1e95e3892de..52227ade16be4541abf58f3c4df43a4f1045111e 100644 (file)
@@ -34,8 +34,9 @@ TUPLE: fjsc < dispatcher ;
     swap append  ;
 
 : do-compile-url ( url -- response )
-    [ 
-        absolute-url http-get* 'expression' parse fjsc-compile write "();" write
+    [
+        absolute-url http-get nip 'expression' parse
+        fjsc-compile write "();" write
     ] with-string-writer
     "application/javascript" <content> ;