diff --git a/src/util/PaperScript.js b/src/util/PaperScript.js index 95a3de88..1726d4f5 100644 --- a/src/util/PaperScript.js +++ b/src/util/PaperScript.js @@ -1,5 +1,7 @@ var PaperScript = new function() { function compile(code) { + // TODO: Parse code and replace math operators with calls to methods + // that handle overloading. return code; } @@ -43,7 +45,7 @@ var PaperScript = new function() { } if (window.addEventListener) { - addEventListener('DOMContentLoaded', runScripts, false); + addEventListener('load', runScripts, false); } else { attachEvent('onload', runScripts); }