summaryrefslogtreecommitdiff
path: root/tests/showsimple.js
diff options
context:
space:
mode:
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);
})();