Added rudimentary movie relations.

This commit is contained in:
2020-03-09 05:06:37 +01:00
parent 8ca98b394f
commit 638757b6e4
11 changed files with 193 additions and 96 deletions

View File

@@ -70,7 +70,7 @@ function exists(context, selector) {
return !!q(context, selector);
}
function content(context, selector) {
function html(context, selector) {
const el = q(context, selector, null, true);
return el && el.innerHTML;
@@ -176,8 +176,8 @@ const legacyFuncs = {
qall: all,
qd: date,
qdate: date,
qh: content,
qhtml: content,
qh: html,
qhtml: html,
qi: image,
qimage: image,
qimages: images,
@@ -207,8 +207,7 @@ const legacyFuncs = {
const quFuncs = {
all,
body: content,
content,
html,
date,
dur: duration,
duration,
@@ -217,7 +216,6 @@ const quFuncs = {
images,
img: image,
imgs: images,
inner: content,
length: duration,
meta,
poster,