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.220, Fix the bug of X.HTMLParser.
[pettanr/clientJs.git]
/
0.6.x
/
js
/
02_dom
/
05_XNodeAttr.js
diff --git
a/0.6.x/js/02_dom/05_XNodeAttr.js
b/0.6.x/js/02_dom/05_XNodeAttr.js
index
6dcd5c7
..
579f286
100644
(file)
--- a/
0.6.x/js/02_dom/05_XNodeAttr.js
+++ b/
0.6.x/js/02_dom/05_XNodeAttr.js
@@
-190,7
+190,7
@@
function X_Node_attr( nameOrObj /* v */ ){
};
\r
return this;
\r
} else
\r
- if(
typeof nameOrObj === 'string'
){
\r
+ if(
X_Type_isString( nameOrObj )
){
\r
// getter
\r
switch( nameOrObj ){
\r
case 'id' :
\r