Potential speedup?

This commit is contained in:
Guillermo Rauch
2011-12-21 14:41:58 -08:00
parent 103f851120
commit 95176a08be

View File

@@ -39,7 +39,7 @@ exports.encodePacket = function (packet) {
var encoded = packets[packet.type]
// data fragment is optional
if ('undefined' != typeof packet.data) {
if (undefined !== packet.data) {
encoded += ':' + packet.data;
}