Switch from using classes to object literals for SVG exporter / importer.

This commit is contained in:
Jürg Lehni 2012-11-02 16:19:45 -07:00
parent ee65ee1026
commit 69dc8be629
21 changed files with 71 additions and 123 deletions

View file

@ -11,8 +11,7 @@
// strokeWidth: 2,
// strokeCap: 'round'
};
var isvg = new ImportSvg();
isvg.importSvg(document.getElementById('svg'));
ImportSvg.import(document.getElementById('svg'));
</script>
</head>
<body>