summaryrefslogtreecommitdiffstats
path: root/priv
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-11-09 22:25:16 +0100
committerLoïc Hoguin <[email protected]>2011-11-09 22:25:16 +0100
commitb49cc30ca8127367bf2276feb81c5bf9df7a8155 (patch)
treeffcefbc1b045574c97be734b513af9801002fff1 /priv
parenta2ec83aed73a45d86c84778162f5764e0619271f (diff)
downloadbullet-b49cc30ca8127367bf2276feb81c5bf9df7a8155.tar.gz
bullet-b49cc30ca8127367bf2276feb81c5bf9df7a8155.tar.bz2
bullet-b49cc30ca8127367bf2276feb81c5bf9df7a8155.zip
Replace const by var in JS for IE compatibility
Diffstat (limited to 'priv')
-rw-r--r--priv/bullet.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/priv/bullet.js b/priv/bullet.js
index 8a4f52f..5e8d26f 100644
--- a/priv/bullet.js
+++ b/priv/bullet.js
@@ -33,10 +33,10 @@
a ping/pong mechanism. By default a JSON ping is sent.
*/
(function($){$.extend({bullet: function(url){
- const CONNECTING = 0;
- const OPEN = 1;
- const CLOSING = 2;
- const CLOSED = 3;
+ var CONNECTING = 0;
+ var OPEN = 1;
+ var CLOSING = 2;
+ var CLOSED = 3;
var transports = {
/**