JSDOC/CompressWhite.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 14 Jul 2010 08:47:20 +0000 (16:47 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 14 Jul 2010 08:47:20 +0000 (16:47 +0800)
JSDOC/CompressWhite.js

index 1621082..2290ea9 100644 (file)
@@ -78,10 +78,10 @@ CompressWhite =  function (ts, packer)
                     
                     throw "could not find end lbrace!!!";
                 }
-                print("AFTER BALANCE (");
-                ts.dump(cu, ts.cursor+2);
-                
-                 if (!ts.balance("{") ){
+                //print("AFTER BALANCE (");
+                //ts.dump(cu, ts.cursor+2);
+                ts.cursor--; // cursor at the (
+                if (!ts.balance("{") ){
                     ts.dump(cu-40, cu);
                     print(">>>>>>>>>>>>>>>>>HERE>>>>>>>>>>>>");
                     ts.dump(cu, cu+40);