function _getScripts() { $scripts = parent::_getScripts(); $scripts[] = 'http://' . $this->webserver . ($this->webport == 80 ? '' : ':' . $this->webport) . '/meteor.js'; $scripts[] = common_path('plugins/Meteor/meteorupdater.js'); return $scripts; }
function _getScripts() { $scripts = parent::_getScripts(); $scripts[] = 'http://' . $this->webserver . ($this->webport == 80 ? '' : ':' . $this->webport) . '/meteor.js'; $scripts[] = $this->path('meteorupdater.min.js'); return $scripts; }
function _getScripts() { $scripts = parent::_getScripts(); $ours = array('jquery.comet.js', 'cometupdate.js'); foreach ($ours as $script) { $scripts[] = common_path('plugins/Comet/' . $script); } return $scripts; }
function _getScripts() { $scripts = parent::_getScripts(); $ours = array('js/jquery.comet.js', 'js/cometupdate.js'); foreach ($ours as $script) { $scripts[] = $this->path($script); } return $scripts; }
function _getScripts() { $scripts = parent::_getScripts(); if ($this->protocol == 'https') { $scripts[] = 'https://' . $this->webserver . ($this->webport == 443 ? '' : ':' . $this->webport) . '/meteor.js'; } else { $scripts[] = 'http://' . $this->webserver . ($this->webport == 80 ? '' : ':' . $this->webport) . '/meteor.js'; } $scripts[] = $this->path('meteorupdater.min.js'); return $scripts; }
function _getScripts() { $scripts = parent::_getScripts(); $port = is_null($this->webport) ? 8000 : $this->webport; $server = is_null($this->webserver) ? common_config('site', 'server') : $this->webserver; $root = 'http://' . $server . ($port == 80 ? '' : ':' . $port); $scripts[] = $root . '/static/Orbited.js'; $scripts[] = 'plugins/Orbited/orbitedextra.js'; $scripts[] = $root . '/static/protocols/stomp/stomp.js'; $scripts[] = 'plugins/Orbited/orbitedupdater.js'; return $scripts; }