From 7bdad97940fb928f7770980d89cd6c611252c6f1 Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Wed, 19 Jun 2013 20:06:36 -0700 Subject: Fix jshint warning. --- priv/bullet.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'priv') diff --git a/priv/bullet.js b/priv/bullet.js index 7c3c977..072a39e 100644 --- a/priv/bullet.js +++ b/priv/bullet.js @@ -138,7 +138,7 @@ 'application/x-www-form-urlencoded; charset=utf-8', headers: {'X-Socket-Transport': 'xhrPolling'}, success: function(data){ - if (data.length != 0){ + if (data.length !== 0){ fake.onmessage({'data': data}); } } @@ -174,7 +174,7 @@ fake.onopen(fake); } // Connection might have closed without a response body - if (data.length != 0){ + if (data.length !== 0){ fake.onmessage({'data': data}); } if (fake.readyState == OPEN){ -- cgit v1.2.3