The Situation
You are inside the JavaScript USE API for Sightly/HTL.
use([], function () {
//your code here
return {};
});
You then get a reference to a child resource like this:
var childRes = resource.getChild('my-child-node');
The Question
How do you get properties off of that resource?
hint: childRes.getValueMap() will give an exception.
org.mozilla.javascript.EcmaError: TypeError: Cannot find function getValueMap