X-Git-Url: http://git.osdn.jp/view?p=pettanr%2FclientJs.git;a=blobdiff_plain;f=0.6.x%2Fjs%2F02_dom%2F05_XNodeAttr.js;fp=0.6.x%2Fjs%2F02_dom%2F05_XNodeAttr.js;h=579f286cda7f744b5f621864b888b55ba4249a9c;hp=6dcd5c7150429ed807f82837afa5e8c88e2c4536;hb=d56e8cc1e13089eb6cbc9dcc6900d7f1828b93df;hpb=9e607206c5510435fc1daeac93a19427ce33cc6f 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 --- 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 */ ){ }; return this; } else - if( typeof nameOrObj === 'string' ){ + if( X_Type_isString( nameOrObj ) ){ // getter switch( nameOrObj ){ case 'id' :