summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2011-01-10 19:37:10 +0000
committerRobert Newson <rnewson@apache.org>2011-01-10 19:37:10 +0000
commit5af920c4c08ba65cfd025c29846b162664e5ea6d (patch)
treef84ab390f67787d34e2ddd995e0aad8060db61b5
parent2a1f5e8b4a8bf80c632d44b6c81b0d9dfbd55174 (diff)
spell javascript correctly in loadScript(url)
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1057330 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--share/www/script/couch_test_runner.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/couch_test_runner.js b/share/www/script/couch_test_runner.js
index 56787e9a..55a6533f 100644
--- a/share/www/script/couch_test_runner.js
+++ b/share/www/script/couch_test_runner.js
@@ -18,7 +18,7 @@ function loadScript(url) {
if((url.substr(0, 7) == "http://")
|| (url.substr(0, 2) == "//")
|| (url.substr(0, 5) == "data:")
- || (url.substr(0, 11) == "javsacript:")) {
+ || (url.substr(0, 11) == "javascript:")) {
throw "Not loading remote test scripts";
}
if (typeof document != "undefined") document.write('<script src="'+url+'"></script>');