Skip to content

Commit

Permalink
节省一比特
Browse files Browse the repository at this point in the history
  • Loading branch information
RubyLouvre committed Nov 28, 2012
1 parent 56c0e5d commit 866e314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attr.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ define("attr",["$node"], function( $ ){
attrHooks: {
"@w3c:get": function( node, name ){
var ret = node.getAttribute( name ) ;
return ret === null ? void 0 : ret;
return ret == null ? void 0 : ret;
},
"@w3c:set": function( node, name, value ){
node.setAttribute( name, "" + value )
Expand Down

0 comments on commit 866e314

Please sign in to comment.