mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-28 22:08:54 -04:00
Switch from using classes to object literals for SVG exporter / importer.
This commit is contained in:
parent
ee65ee1026
commit
69dc8be629
21 changed files with 71 additions and 123 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue