Now with a pretty client side dialog for pairing

This commit is contained in:
R. Aidan Campbell
2016-03-11 09:20:23 -05:00
parent fe50bfce25
commit 94cfe26a10
4 changed files with 47 additions and 1 deletions

View File

@@ -88,7 +88,9 @@ NvHTTP.prototype = {
},
getAppList: function () {
console.log('Requested app list');
return sendMessage('openUrl', [_self._baseUrlHttps+'/applist?'+_self._buildUidStr()]).then(function (ret) {
console.log('App list request returned with: ' + ret);
$xml = _self._parseXML(ret);
var rootElement = $xml.find("root")[0];
@@ -103,6 +105,7 @@ NvHTTP.prototype = {
});
}
console.log('Returning app list: ' + appList);
return appList;
});
},