aboutsummaryrefslogtreecommitdiff
path: root/data/stuff/js
diff options
context:
space:
mode:
Diffstat (limited to 'data/stuff/js')
-rw-r--r--data/stuff/js/util.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/stuff/js/util.js b/data/stuff/js/util.js
index a6826db..c021499 100644
--- a/data/stuff/js/util.js
+++ b/data/stuff/js/util.js
@@ -9,4 +9,8 @@ jQuery(function($) {
data: args,
});
};
+
+ LuigiTemplate.FILTERS.json = function(val) {
+ return JSON.stringify(val);
+ };
});