use minified version of meteorupdater.js
This commit is contained in:
parent
83f6bb9da1
commit
fae63a5161
@ -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;
|
||||
}
|
||||
|
||||
|
1
plugins/Meteor/meteorupdater.min.js
vendored
Normal file
1
plugins/Meteor/meteorupdater.min.js
vendored
Normal 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()}}}();
|
Loading…
Reference in New Issue
Block a user