OSDN Git Service

Version 0.6.11, add XUI_Gesture.
[pettanr/clientJs.git] / 0.6.x / js / core / 04_XClass.js
index e67fd27..2c1af7d 100644 (file)
@@ -215,7 +215,7 @@ X.Class = ( function(){
                                return;\r
                        };\r
                        \r
-                       if( X.Type.isFunction( props[ CONSTRUCTOR ] ) === true ){\r
+                       if( props[ CONSTRUCTOR ] && X.Type.isFunction( props[ CONSTRUCTOR ] ) === true ){\r
                                classDef[ CONSTRUCTOR ] = props[ CONSTRUCTOR ];\r
                        };\r
                        \r