diff options
author | Nick White <git@njw.me.uk> | 2010-11-15 00:04:49 +0000 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2010-11-15 00:04:49 +0000 |
commit | 68eb363dc0c535a309f2ae533cedf27b92f6cd8e (patch) | |
tree | d624225fa5e55d3de241e1630a0c8d4f52bdf402 /tests/showsimple.js | |
parent | 0781d0f5df9aee336e3b6b6de4143c2e2f83e6ad (diff) |
Fix bug with test script, work around another
Diffstat (limited to 'tests/showsimple.js')
-rw-r--r-- | tests/showsimple.js | 4 |
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); })(); |