From afb9467fbe19d0741559253d3042627c299abbcf Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Tue, 4 Aug 2009 12:28:58 +0000 Subject: add compile-time conditionals to support the upcoming Spidermonkey 1.8, swap searching for libjs and libmozjs, patch by Alessandro Decina, closes COUCHDB-288 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@800750 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/show_documents.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/www/script/test') diff --git a/share/www/script/test/show_documents.js b/share/www/script/test/show_documents.js index 8a1edd2d..a1138596 100644 --- a/share/www/script/test/show_documents.js +++ b/share/www/script/test/show_documents.js @@ -112,7 +112,7 @@ couchTests.show_documents = function(debug) { // Becase Safari can't stand to see that dastardly // E4X outside of a string. Outside of tests you // can just use E4X literals. - this.eval('xml.node.@foo = doc.word'); + eval('xml.node.@foo = doc.word'); return { body: xml }; -- cgit v1.2.3