From dfbf4f9e145a482aa85d42e7373422fd57d619b3 Mon Sep 17 00:00:00 2001 From: hallgren Date: Mon, 3 Oct 2011 08:21:35 +0000 Subject: gfse: references to the GF book in keyword tool tips and style tweaks for example-based grammar editing --- src/editor/simple/example_based.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/editor/simple/example_based.js') diff --git a/src/editor/simple/example_based.js b/src/editor/simple/example_based.js index f38f657c7..07725d242 100644 --- a/src/editor/simple/example_based.js +++ b/src/editor/simple/example_based.js @@ -146,11 +146,11 @@ function exb_linbuttons(g,ci,f) { if(conc.example_based && eb) { if(eb.exready[fun]) buttons.push(button("By example",by_example)) - if(eb.testable[fun]) { + if(eb.testable[fun] && f.eb_lin) { var b=button("Test it",test_it); buttons.push(b) } - var exb_output=empty("span"); + var exb_output=node("span",{class:"exb_output"},[]); buttons.push(exb_output) } return buttons -- cgit v1.2.3