[jQuery] === vs == in /src/dev

[jQuery] === vs == in /src/dev

The Jlint mods definitely bite my tail, this returns an
object instead of the text contents of #somediv.
stuff = $('#somediv').html();
Is there anything so wrong with this simpler construct ?
html: function(h) {
return h ? this.set( "innerHTML", h ) : this.get(0).innerHTML ;
},
It's slightly more efficient as it saves calling size().
--markc
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/












    • Topic Participants

    • markc