summaryrefslogtreecommitdiffstats
path: root/priv/bullet.js
diff options
context:
space:
mode:
Diffstat (limited to 'priv/bullet.js')
-rw-r--r--priv/bullet.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/priv/bullet.js b/priv/bullet.js
index 8730315..c593646 100644
--- a/priv/bullet.js
+++ b/priv/bullet.js
@@ -228,6 +228,9 @@
this.onclose = function(){};
this.onheartbeat = function(){};
+ this.setURL = function(newURL){
+ url = newURL;
+ };
this.send = function(data){
return transport.send(data);
};