more comments
This commit is contained in:
parent
755d7fa55e
commit
d2627ebe17
|
@ -1,4 +1,5 @@
|
|||
sub itemContentChanged()
|
||||
' Updates video metadata
|
||||
item = m.top.itemContent
|
||||
itemData = item.json
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ sub init()
|
|||
end sub
|
||||
|
||||
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
|
||||
list = m.top.findNode("configOptions")
|
||||
button = m.top.findNode("submit")
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
sub itemContentChanged()
|
||||
' Updates video metadata
|
||||
item = m.top.itemContent
|
||||
itemData = item.json
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
sub itemContentChanged()
|
||||
' Updates video metadata
|
||||
' TODO - make things use item rather than itemData
|
||||
item = m.top.itemContent
|
||||
itemData = item.json
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
' Functions for making requests to the API
|
||||
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
|
||||
|
||||
param_array = []
|
||||
|
@ -34,7 +35,7 @@ function buildParams(params={} as Object) as string
|
|||
end function
|
||||
|
||||
function buildURL(path as String, params={} as Object) as string
|
||||
|
||||
|
||||
full_url = get_base_url() + "/" + path
|
||||
if params.count() > 0
|
||||
full_url = full_url + "?" + buildParams(params)
|
||||
|
|
Loading…
Reference in New Issue
Block a user