- 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`
This commit is contained in:
@@ -6,14 +6,12 @@
|
||||
<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);
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user