function removeDeviceDetailsPage(address) {
    var id = 'devices/' + address.toLowerCase();
    sidebarObj.removeItem(id);

    var deviceDetailsPage = PageManager.registeredPages[id];
    assert(deviceDetailsPage, 'Device Details page must exist');

    deviceDetailsPage.disconnect();
    deviceDetailsPage.pageDiv.parentNode.removeChild(deviceDetailsPage.pageDiv);

    // Inform the devices page that the user is inspecting this device.
    // This will update the links in the device table.
    devicesPage.setInspecting(
        deviceDetailsPage.deviceInfo, false /* isInspecting */);

    PageManager.unregister(deviceDetailsPage);
  }
/**
   * Removes DeviceDetailsPage with matching device |address|. The associated
   * sidebar item is also removed.
   * @param {string} address
   */
Removes DeviceDetailsPage with matching device |address|. The associated
sidebar item is also removed.
@param {string} address
Removes DeviceDetailsPage with matching device |address| . The associated sidebar item is also removed . @param { string } address
function removeDeviceDetailsPage(address) {
    var id = 'devices/' + address.toLowerCase();
    sidebarObj.removeItem(id);
    var deviceDetailsPage = PageManager.registeredPages[id];
    assert(deviceDetailsPage, 'Device Details page must exist');
    deviceDetailsPage.disconnect();
    deviceDetailsPage.pageDiv.parentNode.removeChild(deviceDetailsPage.pageDiv);
    devicesPage.setInspecting(
        deviceDetailsPage.deviceInfo, false );
    PageManager.unregister(deviceDetailsPage);
  }
function removeDeviceDetailsPage ( address ) { var id = 'devices/' + address . toLowerCase ( ) ; sidebarObj . removeItem ( id ) ; var deviceDetailsPage = PageManager . registeredPages [ id ] ; assert ( deviceDetailsPage , 'Device Details page must exist' ) ; deviceDetailsPage . disconnect ( ) ; deviceDetailsPage . pageDiv . parentNode . removeChild ( deviceDetailsPage . pageDiv ) ; devicesPage . setInspecting ( deviceDetailsPage . deviceInfo , false ) ; PageManager . unregister ( deviceDetailsPage ) ; }
Removes DeviceDetailsPage with matching device |address|.
Removes DeviceDetailsPage with matching device |address| .
// Inform the devices page that the user is inspecting this device. // This will update the links in the device table. /* isInspecting */