OSDN Git Service
(root)
/
pettanr
/
clientJs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Version 0.6.11, add XUI_Gesture.
[pettanr/clientJs.git]
/
0.6.x
/
js
/
core
/
04_XClass.js
diff --git
a/0.6.x/js/core/04_XClass.js
b/0.6.x/js/core/04_XClass.js
index
e67fd27
..
2c1af7d
100644
(file)
--- a/
0.6.x/js/core/04_XClass.js
+++ b/
0.6.x/js/core/04_XClass.js
@@
-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