Add script example

This commit is contained in:
Joshua Bell
2013-12-08 15:56:19 -08:00
parent 728c1599e5
commit 26bcae27a5
3 changed files with 36 additions and 3 deletions

View File

@ -1,5 +1,5 @@
window.onload = function () {
window.addEventListener('DOMContentLoaded', function () {
var $ = function (s) { return document.querySelector(s); };
@ -240,4 +240,4 @@ window.onload = function () {
} else {
loadFile('samples/sample.default.txt', setSource);
}
};
});