mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-24 18:21:43 +00:00
Simplify title operator
This commit is contained in:
@@ -21,11 +21,7 @@ exports.title = function(source,operator,options) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if(operator.isMultiValueOperand[0]) {
|
Array.prototype.push.apply(results,operator.multiValueOperands[0]);
|
||||||
Array.prototype.push.apply(results,operator.multiValueOperands[0]);
|
|
||||||
} else {
|
|
||||||
results.push(operator.operand);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return results;
|
return results;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user