summaryrefslogtreecommitdiff
path: root/tests/showsimple.js
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2010-11-15 00:04:49 +0000
committerNick White <git@njw.me.uk>2010-11-15 00:04:49 +0000
commit68eb363dc0c535a309f2ae533cedf27b92f6cd8e (patch)
treed624225fa5e55d3de241e1630a0c8d4f52bdf402 /tests/showsimple.js
parent0781d0f5df9aee336e3b6b6de4143c2e2f83e6ad (diff)
Fix bug with test script, work around another
Diffstat (limited to 'tests/showsimple.js')
-rw-r--r--tests/showsimple.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/showsimple.js b/tests/showsimple.js
index a994348..86dfbe7 100644
--- a/tests/showsimple.js
+++ b/tests/showsimple.js
@@ -1,6 +1,8 @@
(function() {
stag = document.createElement("script");
- document.body.appendChild(stag).src="../simplyread.js";
+ stag.src="file://./simplyread.js";
+ document.body.appendChild(stag);
+ window.alert('Click me quick'); // this seems to make simplyread.js register..
simplyread();
console.log(document.body.innerHTML);
})();