more comments

This commit is contained in:
Matthew Crowson 2019-04-29 15:10:02 -04:00
parent 755d7fa55e
commit d2627ebe17
5 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,5 @@
sub itemContentChanged() sub itemContentChanged()
' Updates video metadata
item = m.top.itemContent item = m.top.itemContent
itemData = item.json itemData = item.json

View File

@ -6,6 +6,7 @@ sub init()
end sub end sub
function onKeyEvent(key as String, press as Boolean) as Boolean function onKeyEvent(key as String, press as Boolean) as Boolean
' Returns true if user navigates to a new focusable element
if not press then return false if not press then return false
list = m.top.findNode("configOptions") list = m.top.findNode("configOptions")
button = m.top.findNode("submit") button = m.top.findNode("submit")

View File

@ -1,4 +1,5 @@
sub itemContentChanged() sub itemContentChanged()
' Updates video metadata
item = m.top.itemContent item = m.top.itemContent
itemData = item.json itemData = item.json

View File

@ -1,4 +1,5 @@
sub itemContentChanged() sub itemContentChanged()
' Updates video metadata
' TODO - make things use item rather than itemData ' TODO - make things use item rather than itemData
item = m.top.itemContent item = m.top.itemContent
itemData = item.json itemData = item.json

View File

@ -1,5 +1,6 @@
' Functions for making requests to the API ' Functions for making requests to the API
function buildParams(params={} as Object) as string function buildParams(params={} as Object) as string
' Take an object of parameters and construct the URL query
req = createObject("roUrlTransfer") ' Just so we can use it for escape req = createObject("roUrlTransfer") ' Just so we can use it for escape
param_array = [] param_array = []