use minified version of meteorupdater.js

This commit is contained in:
Evan Prodromou 2010-11-17 12:22:02 -05:00
parent 83f6bb9da1
commit fae63a5161
2 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class MeteorPlugin extends RealtimePlugin
{ {
$scripts = parent::_getScripts(); $scripts = parent::_getScripts();
$scripts[] = 'http://'.$this->webserver.(($this->webport == 80) ? '':':'.$this->webport).'/meteor.js'; $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; return $scripts;
} }

1
plugins/Meteor/meteorupdater.min.js vendored Normal file
View File

@ -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()}}}();