mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-04-16 21:30:09 +00:00
refactored NvHTTP.init() to be less confusing. This closes #17
This commit is contained in:
@@ -33,7 +33,7 @@ function NvHTTP(address, clientUid) {
|
||||
};
|
||||
|
||||
NvHTTP.prototype = {
|
||||
init: function () {
|
||||
refreshServerInfo: function () {
|
||||
return sendMessage('openUrl', [_self._baseUrlHttps+'/serverinfo?'+_self._buildUidStr()]).then(function(ret) {
|
||||
$xml = _self._parseXML(ret);
|
||||
$root = $xml.find('root')
|
||||
|
||||
Reference in New Issue
Block a user