comparison nodejs/svg.js @ 1390:e6d826db527c

Fix the forward refeence issue.
author wycc
date Fri, 25 Mar 2011 08:49:01 +0800
parents 18494028f5bc
children cd5fb45bc247
comparison
equal deleted inserted replaced
1389:18494028f5bc 1390:e6d826db527c
30 } 30 }
31 31
32 return [r, g, b]; 32 return [r, g, b];
33 } 33 }
34 34
35 35 function loadSVG (mb_rt, root, filename) {
36 exports.prototype.loadSVG = function (mb_rt, root, filename) {
37 this.pgstack=[]; 36 this.pgstack=[];
38 if (filename) 37 if (filename)
39 this.load(mb_rt,root,filename); 38 this.load(mb_rt,root,filename);
40 } 39 }
41 40
1478 } 1477 }
1479 } 1478 }
1480 }; 1479 };
1481 1480
1482 1481
1482 exports.loadSVG = loadSVG;