From 68eb363dc0c535a309f2ae533cedf27b92f6cd8e Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 15 Nov 2010 00:04:49 +0000 Subject: Fix bug with test script, work around another --- tests/showsimple.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/showsimple.js') 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); })(); -- cgit v1.2.3