From 65a8b26a0b504341cda0502720cf908fdeb0067d Mon Sep 17 00:00:00 2001 From: Christian Perfect Date: Fri, 11 Apr 2014 10:25:17 +0100 Subject: [PATCH] make bind better Now matches http://www.w3.org/Math/testsuite/build/main/Content/ArithmeticAlgebraLogic/logic7-form.xhtml sample rendering --- ctop.js | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/ctop.js b/ctop.js index cd3c255..7245f4a 100644 --- a/ctop.js +++ b/ctop.js @@ -238,29 +238,33 @@ var CToP = { * * (function factory) */ - bind: function(name) { + bind: function(name,argSeparator) { return function(parentNode,contentMMLNode,firstArg,args,bvars,qualifiers,precedence) { var mrow = CToP.createElement('mrow'); CToP.appendToken(mrow,'mo',name); + for(var j=0; j