OSDN Git Service

Version 0.6.41, fix for Opera8 & NN7.2+.
[pettanr/clientJs.git] / 0.6.x / js / dom / 18_XDomQuery.js
index 2aa5d95..eece774 100644 (file)
@@ -209,7 +209,7 @@ X.Dom.Query._parse = function( query, last ){
                var HTML      = Node._html,\r
                        scope     = this.constructor === X.Dom.NodeList && this.length ? this : [ this.constructor === Node ? this : Node.root ],\r
                        parents   = scope, // 探索元の親要素 XNodeList の場合あり\r
-                       noLower   = 'title id name class for ' + X.Dom.DTD.ATTR_VAL_IS_URI.join( ' ' ),\r
+                       noLower   = 'title id name class for action archive background cite classid codebase data href longdesc profile src usemap',// + X.Dom.DTD.ATTR_VAL_IS_URI.join( ' ' ),\r
                        ARY_PUSH  = Array.prototype.push,\r
                        ret       = [], // 結果要素\r
                        root      = X.Dom.Node.getRoot( scope[ 0 ] ),\r
@@ -225,9 +225,12 @@ X.Dom.Query._parse = function( query, last ){
                        uid, tmp, xnode, filter, key, op, val, toLower, useName,\r
             links, className, attr, flag;\r
 \r
-               /*@cc_debug[ */\r
-               if( X.Dom.readyState < X.Dom.Event.XDOM_READY ){ alert( 'not ready! X.Dom.listen( X.Dom.Event.XDOM_READY, callback )' ); };\r
-               /*]@cc_debug */\r
+               /*@+debug[*/\r
+               if( X.Dom.readyState < X.Dom.Event.XDOM_READY ){\r
+                       alert( 'not ready! X.Dom.listen( X.Dom.Event.XDOM_READY, callback )' );\r
+                       return;\r
+               };\r
+               /*]@+debug*/\r
 \r
                // 文字列以外は空で返す\r
                if( typeof queryString !== 'string' ) return ret;\r