Files
svgedit/opera-widget/index.html
Brett Zamir 5894398c36 - Linting: ESLint (or ignore) JavaScript files; unfinished: editor/jgraduate and editor/extensions folders, editor/ (root), test/ (root) HTML
- Fix: An apparent bug in jquery.svgicons.js whereby a variable `holder` was declared in too nested of a scope
- Fix: `addBezierCurve` in canvg.js had undeclared `i`
- Fix: Undeclared variable in opera widget
- Fix: Screencast `showNotes`
2018-05-13 18:47:00 +08:00

25 lines
675 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>SVG Edit</title>
<link rel="stylesheet" href="style.css">
<script>
/** this method adds the script that overrides the default open/save handlers */
function addHandlers () {
var cdoc = document.getElementById('container').contentDocument;
if (cdoc) {
var scriptelm = cdoc.createElement('script');
scriptelm.src = '../handlers.js';
cdoc.getElementsByTagName('head')[0].appendChild(scriptelm);
}
}
</script>
</head>
<body>
<object id="container" data="editor/svg-editor.html" onload="addHandlers()">
Failed to load for some reason.
</object>
</body>
</html>