You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2006/08/17 20:16:59 UTC

svn commit: r432375 - /incubator/xap/trunk/src/xap/Xap.js

Author: mturyn
Date: Thu Aug 17 13:16:58 2006
New Revision: 432375

URL: http://svn.apache.org/viewvc?rev=432375&view=rev
Log:
Added a reuire(0 for google.xpath in the page-scanning method.

Modified:
    incubator/xap/trunk/src/xap/Xap.js

Modified: incubator/xap/trunk/src/xap/Xap.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/Xap.js?rev=432375&r1=432374&r2=432375&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/Xap.js (original)
+++ incubator/xap/trunk/src/xap/Xap.js Thu Aug 17 13:16:58 2006
@@ -123,6 +123,7 @@
  *  Looks for nodes with the criteria we want
 **/  
 Xap._findAppElements = function(){
+	Xap.require("google.xpath");
 	var currentContext =   new google.ExprContext(document) ;
 // The following _should_ work, but I think google's XPath
 // is a little broken---an earlier attempt to run //*[id='anId']