2013-10-29 03:32:01 +00:00
|
|
|
<!DOCTYPE html>
|
2009-08-21 13:44:54 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2013-10-29 06:54:31 +00:00
|
|
|
<meta charset="utf-8" />
|
2009-08-21 13:44:54 +00:00
|
|
|
<title>SVG Edit</title>
|
- Linting (HTML): Use double-quotes for attributes, remove redundant `type=text/css`,
indent/lbs, consistent non-use of HTML namespace, consistent indents, consistent charset
casing
- Linting (Markdown): Add `.remarkrc`, use proper hierarchical headings, use consistent
heading format, trailing spaces
- `composer.json`: consistent property spacing
- License: Add `.txt` extension, update copyright date, and reflect type (MIT) in file name
- Credits: Add self
- npm: Add `package.json` (version 3.0.0-alpha.1 for npm release only; just reserving name)
2018-05-13 01:58:13 +00:00
|
|
|
<link rel="stylesheet" href="style.css">
|
2009-09-24 18:47:03 +00:00
|
|
|
<script>
|
|
|
|
/** this method adds the script that overrides the default open/save handlers */
|
2018-05-13 10:47:00 +00:00
|
|
|
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);
|
2009-09-24 18:47:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
2009-08-21 13:44:54 +00:00
|
|
|
</head>
|
2009-08-19 03:42:27 +00:00
|
|
|
<body>
|
2009-09-24 18:47:03 +00:00
|
|
|
<object id="container" data="editor/svg-editor.html" onload="addHandlers()">
|
2009-08-19 03:42:27 +00:00
|
|
|
Failed to load for some reason.
|
2009-08-21 13:44:54 +00:00
|
|
|
</object>
|
|
|
|
</body>
|
|
|
|
</html>
|