snap.js/test.html

18 lines
396 B
HTML
Raw Normal View History

2014-05-23 11:03:03 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Test</title>
<script src="dist/snap.svg.js"></script>
2014-05-23 11:03:03 +00:00
</head>
<body>
<script>
var s = Snap();
Snap.load("inkscape.svg", function (f) {
console.log(f.select('path[sodipodi:nodetypes="cc"]'));
});
</script>
2014-05-23 11:03:03 +00:00
</body>
</html>