};\r
\r
// セレクター\r
- X.Dom.find = X._shortcut = Node.prototype.find = function( queryString ){\r
+ X.Dom.find = X._shortcut = Node.prototype.find = X.Dom.NodeList.prototype.find = function( queryString ){\r
var HTML = Node._html,\r
- scope = this.cnstructor === X.Dom.NodeList && this.length ? this : [ this.cnstructor === Node ? this : Node.root ],\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 href src',\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
uid, tmp, xnode, filter, key, op, val, toLower, useName,\r
links, className, attr, flag;\r
\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
\r
- \r
- \r
xnodes = [];\r
\r
// 以下、パースと探索\r
}\r
};\r
\r
+\r
+\r