From 45df73a0caebb4ff3b93c6f6d3bf9b2a78028ce7 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Wed, 24 Aug 2011 15:20:51 -0700 Subject: [PATCH] fjsc: display the proper namespace when using set_in. --- extra/fjsc/resources/bootstrap.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extra/fjsc/resources/bootstrap.js b/extra/fjsc/resources/bootstrap.js index 795ab7496e..31065c9f31 100644 --- a/extra/fjsc/resources/bootstrap.js +++ b/extra/fjsc/resources/bootstrap.js @@ -127,9 +127,14 @@ Factor.prototype.using = function(v, next) { factor.get_word("kernel", "using").execute(next); } +var fjsc_repl = false; + Factor.prototype.set_in = function(v, next) { factor.cont.data_stack.push(v); factor.get_word("kernel", "set-in").execute(next); + if (fjsc_repl) { + fjsc_repl.ps = '( ' + v + ' )'; + } } Factor.prototype.get_word = function(vocab,name) {