dist/lib/build.js
function addPid(content) {
    var shapeReg = /<(path|rect|circle|polygon|line|polyline|ellipse)\s/gi;
    var id = 0;
    content = content.replace(shapeReg, function (match) {
        return match + ("pid=\"" + id++ + "\" ");
    });
    return content;
}
function addPid(content) {
    var shapeReg = /<(path|rect|circle|polygon|line|polyline|ellipse)\s/gi;
    var id = 0;
    content = content.replace(shapeReg, function (match) {
        return match + ("pid=\"" + id++ + "\" ");
    });
    return content;
}
function addPid ( content ) { var shapeReg = / <(path|rect|circle|polygon|line|polyline|ellipse)\s / gi ; var id = 0 ; content = content . replace ( shapeReg , function ( match ) { return match + ( "pid=\"" + id ++ + "\" " ) ; } ) ; return content ; }
add pid attr, for css
add pid attr for css