OSDN Git Service

Version 0.6.156, add X.UI.Repeater.
[pettanr/clientJs.git] / 0.6.x / js / 02_dom / 08_XNodeSelector.js
index 4b735e0..9d33b14 100644 (file)
@@ -233,22 +233,24 @@ function X_Node_Selector__parse( query, last ){
         * @return {Node|NodeList}\r
         */\r
        X[ 'Doc' ][ 'find' ] = X_shortcutFunction =\r
+\r
        /**\r
         * selector を使って Node, NodeList を取得する\r
-        * @alias Node.prototype.find\r
+        * @alias NodeList.prototype.find\r
         * @function\r
         * @param {string} セレクター文字列\r
         * @return {Node|NodeList}\r
         */\r
-       Node.prototype[ 'find' ] =\r
+       X_NodeList.prototype[ 'find' ] = X_Node_find;\r
+       \r
        /**\r
         * selector を使って Node, NodeList を取得する\r
-        * @alias NodeList.prototype.find\r
+        * @alias Node.prototype.find\r
         * @function\r
         * @param {string} セレクター文字列\r
         * @return {Node|NodeList}\r
-        */\r
-       X_NodeList.prototype[ 'find' ] = function ( queryString ){\r
+        */     \r
+       function X_Node_find( queryString ){\r
                var HTML      = X_Node_html,\r
                        scope     = this.constructor === X_NodeList && this.length ? this : [ this.constructor === Node ? this : X_Node_body ],\r
                        parents   = scope, // 探索元の親要素 XNodeList の場合あり\r