diff options
author | Evan Prodromou <evan@status.net> | 2010-11-17 12:22:02 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-11-17 12:22:02 -0500 |
commit | fae63a5161ab1ad9d2988c396d0fda00f608505d (patch) | |
tree | 9bf297a9cf8eeda1ace0c8b613b348759eaacf3c | |
parent | 83f6bb9da1c91e0f464c1a665d01c4d5d1bfed09 (diff) |
use minified version of meteorupdater.js
-rw-r--r-- | plugins/Meteor/MeteorPlugin.php | 2 | ||||
-rw-r--r-- | plugins/Meteor/meteorupdater.min.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Meteor/MeteorPlugin.php b/plugins/Meteor/MeteorPlugin.php index a48c52b56..1bdccae7a 100644 --- a/plugins/Meteor/MeteorPlugin.php +++ b/plugins/Meteor/MeteorPlugin.php @@ -89,7 +89,7 @@ class MeteorPlugin extends RealtimePlugin { $scripts = parent::_getScripts(); $scripts[] = 'http://'.$this->webserver.(($this->webport == 80) ? '':':'.$this->webport).'/meteor.js'; - $scripts[] = common_path('plugins/Meteor/meteorupdater.js'); + $scripts[] = common_path('plugins/Meteor/meteorupdater.min.js'); return $scripts; } diff --git a/plugins/Meteor/meteorupdater.min.js b/plugins/Meteor/meteorupdater.min.js new file mode 100644 index 000000000..61928ab4f --- /dev/null +++ b/plugins/Meteor/meteorupdater.min.js @@ -0,0 +1 @@ +var MeteorUpdater=function(){return{init:function(c,a,b){Meteor.callbacks.process=function(d){RealtimeUpdate.receive(JSON.parse(d))};Meteor.host=c;Meteor.port=a;Meteor.joinChannel(b,0);Meteor.connect()}}}();
\ No newline at end of file |