OSDN Git Service

Version 0.6.58, X.UI.HBox is working.
[pettanr/clientJs.git] / 0.5.x / javascripts / libs.js
index aee98fe..507033b 100644 (file)
@@ -1,6 +1,6 @@
 /*\r
  * pettanR libs.js\r
- *   version 0.5.44\r
+ *   version 0.5.47\r
  * \r
  * \r
  * Type\r
@@ -593,7 +593,8 @@ var getFunctionName = function( f ){
                        getElementsByClassName: function( _elm, _className, opt_tagName ){\r
                                var _all       = !opt_tagName || opt_tagName === '*',\r
                                        _livenodes = _all === true ? ( _elm.all || _elm.getElementsByTagName( '*' )) : _elm.getElementsByTagName( opt_tagName ),\r
-                                       _nodes     = Util.copyArray( _livenodes );\r
+                                       _nodes     = Util.copyArray( _livenodes),\r
+                    _node;\r
                                for( var j = 0; j < _nodes.length; ){\r
                                        _node = _nodes[ j ];\r
                                        if( _node.nodeType !== 1 || Util.hasClassName( _node, _className ) === false ){\r
@@ -812,7 +813,7 @@ var CSS = ( function( window, documwnt, undefined ){
        })();\r
 \r
        var COLOR = ( function(){\r
-               var ret = {}, v, name,\r
+               var ret = {}, v, name, i,\r
                        list = [\r
                                '0', 'BLACK',\r
                                'FF0000', 'RED',\r
@@ -1314,7 +1315,8 @@ var CSS = ( function( window, documwnt, undefined ){
                                right  = this.get( name + 'Right' ),\r
                                bottom = this.get( name + 'Bottom' ),\r
                                left   = this.get( name + 'Left' ),\r
-                               ret    = new PropertyGroupClass( name, top, right, bottom, left );\r
+                               ret    = new PropertyGroupClass( name, top, right, bottom, left),\r
+                all;\r
                        if( ret.isValid() === true ) return ret;\r
                        ret.clear();\r
                        all    = this.style[ name ].split( '(' )[ 1 ].split( ')' )[ 0 ].split( CLIP_SEPARATOR );\r
@@ -1346,7 +1348,7 @@ var CSS = ( function( window, documwnt, undefined ){
                                bottom = this.get( name + 'Bottom' + widthOrColor ),\r
                                left   = this.get( name + 'Left' + widthOrColor ),\r
                                ret    = new FrexiblePropertyClass( name, top, right, bottom, left ),\r
-                               all, x, v, u, i;\r
+                               all, x, v, u, i, l;\r
                        \r
                        if( ret.isValid() === true ) return ret;\r
                        ret.clear();\r
@@ -1627,7 +1629,7 @@ var Position = {
                        minus   = Position.isMinusBodyBorder,\r
                        body    = document.body,\r
                        element = forElement,\r
-                       parent;\r
+                       parent, border;\r
                do {\r
                        valueT += element.offsetTop || 0;\r
                        valueL += element.offsetLeft || 0;\r