Added rudimentary movie relations.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user