Changeset 24935

Show
Ignore:
Timestamp:
11.01.2012 10:07:33 (8 years ago)
Author:
davidb
Message:

Tidy up of code, removing commented out lines

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/html-to-expeditee/trunk/src/src/js/html-to-expeditee.js

    r24934 r24935  
    100100    depth = (depth) ? depth : 0; 
    101101 
    102     //var expSyntax = ""; 
    103102    var jsonNode = null; 
    104103 
     
    107106 
    108107        if (text.match(/\S/)) { 
    109         //for (var i=0; i<depth; i++) { expSyntax += "  "; } 
    110         //expSyntax += "Text item: " + node.nodeValue + "\n"; 
    111  
    112108            jsonNode = {}; 
    113109 
     
    134130        var yt = nodePos.yt; 
    135131        var yb = nodePos.yb; 
    136  
    137 /* 
    138         var rectSyntax = ""; 
    139  
    140         for (var i=0; i<depth; i++) { rectSyntax += "  "; } 
    141  
    142         rectSyntax += "Rect item " + node.nodeName + ": "; 
    143         rectSyntax += xl + " " + yt + " " + xr + " " + yb + "\n"; 
    144  
    145         expSyntax += rectSyntax; 
    146 */ 
    147132 
    148133            jsonNode = {}; 
     
    175160 
    176161    return jsonNode; 
    177     //return expSyntax; 
    178162} 
    179163