Add depreciation warning system, begin depreciation of session_data.hasCap()
This commit is contained in:
@@ -361,7 +361,7 @@ document.theForm.submit();
|
||||
</SCRIPT>
|
||||
<input type=file device=video name=photoBlockPhoto src="cache:snapshot.jpg" invisible disabled=true>
|
||||
`
|
||||
if (session_data.hasCap("client-can-do-av-capture")) {
|
||||
if (session_data.capabilities.get("client-can-do-av-capture")) {
|
||||
data += `<tr>
|
||||
<td height=32>
|
||||
<img src=wtv-author:/ROMCache/pointer.gif align=absmiddle width=13 height=22 hspace=0>
|
||||
|
||||
@@ -413,7 +413,7 @@ document.theForm.submit();
|
||||
</SCRIPT>
|
||||
<input type=file device=video name=photoBlockPhoto src="cache:snapshot.jpg" invisible disabled=true>
|
||||
`
|
||||
if (session_data.hasCap("client-can-do-av-capture")) {
|
||||
if (session_data.capabilities.get("client-can-do-av-capture")) {
|
||||
data += `<tr>
|
||||
<td height=32>
|
||||
<img src=wtv-author:/ROMCache/pointer.gif align=absmiddle width=13 height=22 hspace=0>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const minisrv_service_file = true;
|
||||
const canDoMuzac = session_data.hasCap('client-can-do-muzac');
|
||||
const canDoMuzac = session_data.capabilities.get('client-can-do-muzac');
|
||||
|
||||
headers = `200 OK
|
||||
Connection: Keep-Alive
|
||||
|
||||
Reference in New Issue
Block a user