Mercurial > MadButterfly
changeset 1390:e6d826db527c
Fix the forward refeence issue.
author | wycc |
---|---|
date | Fri, 25 Mar 2011 08:49:01 +0800 |
parents | 18494028f5bc |
children | ff8122c59648 |
files | nodejs/svg.js |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/nodejs/svg.js Fri Mar 25 03:56:07 2011 +0800 +++ b/nodejs/svg.js Fri Mar 25 08:49:01 2011 +0800 @@ -32,8 +32,7 @@ return [r, g, b]; } - -exports.prototype.loadSVG = function (mb_rt, root, filename) { +function loadSVG (mb_rt, root, filename) { this.pgstack=[]; if (filename) this.load(mb_rt,root,filename); @@ -1480,3 +1479,4 @@ }; +exports.loadSVG = loadSVG;