- Further convert tabs -> 2 spaces in JS code comments (except in test performance
file where used for alignment though use tab escape within JS), CSS
(including comments), PHP, SVG, JSON, XUL
- Remove extra spaces in svgcanvas.js, ext-connector.js
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
<!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>
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user