OSDN Git Service

Version 0.6.170, X.Audio is working ADVANCED_OPTIMIZATIONS.
[pettanr/clientJs.git] / 0.6.x / js / 02_dom / 07_XNodeList.js
index 50eaff9..be45a3b 100644 (file)
@@ -23,7 +23,7 @@ function X_NodeList( v ){
                };\r
                if( !skip ){\r
                        this[ n ] = xnode;\r
-                       n = ++this.length;      \r
+                       n = ++this.length;\r
                };\r
        };\r
 };\r
@@ -34,7 +34,7 @@ X_NodeList.prototype[ 'each' ] = function( func /* opt_args... */ ){
                i = 0, args;\r
 \r
        if( 1 < arguments.length ){\r
-               args = X_Object_cloneArray( arguments );\r
+               args = X_Array_copy( arguments );\r
                for( ; i < l; ++i ){\r
                        args[ 0 ] = i;\r
                        if( func.apply( this[ i ], args ) === false ) break;\r