From e36af534bf70e719212836c12f133770357cd93b Mon Sep 17 00:00:00 2001 From: hallgren Date: Tue, 13 Sep 2011 15:19:16 +0000 Subject: gfse: added grammar cloning --- src/editor/simple/editor.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/editor/simple/editor.js') diff --git a/src/editor/simple/editor.js b/src/editor/simple/editor.js index 3b1a9a486..64efd4ab1 100644 --- a/src/editor/simple/editor.js +++ b/src/editor/simple/editor.js @@ -37,12 +37,15 @@ function draw_grammar_list() { editor.appendChild(home) var gs=ul([]); function del(i) { return function () { delete_grammar(i); } } + function clone(i) { return function (g,b) { clone_grammar(i); } } for(var i=0;i