]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/fjsc/resources/bootstrap.factor
namespaces: Rename ``bind`` to ``with-variables``. Update a few places that called...
[factor.git] / extra / fjsc / resources / bootstrap.factor
index db63f15f1c15f3b4692701ea8de26276fd7af654..4063426d5e2d524f6725655045bd105313f09344 100644 (file)
@@ -1,6 +1,6 @@
 IN: namespaces
 USE: kernel-internals
-: bind ( ns quot -- )
+: with-variables ( ns quot -- )
   swap >n call n> drop ;
 
 "browser-dom" set-in
@@ -14,7 +14,7 @@ USE: kernel-internals
   { } "" "html" { "string" } alien-invoke ;
 
 : bind-event ( name element quot -- )
-  >function swap { } "" "bind" { "string" "function" } alien-invoke ;
+  >function swap { } "" "with-variables" { "string" "function" } alien-invoke ;
 
 "scratchpad" set-in