fixed #7, javascript filter for pongo2 with context in this variable
continuous-integration/drone/push Build is failing

This commit is contained in:
Sebastian Frank committed 2019-02-28 18:36:36 +01:00
1 parent 9e2f16dde9
commit 079534ab71
9 files changed
+102 -6

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
function datum(str, param) {
if (!param) {
param = "$3.$2.$1";
}
/*
this.context.Meta.Title ist hier z.B. möglich
*/
return str.replace(/^([0-9]+)[^0-9]+([0-9]+)[^0-9]+([0-9]+).*/, param)
}
datum;