@ -21,6 +21,11 @@
return '<meta ' + name + property + content + '/>';
};
helpers.stringify = function(obj) {
// Turns the incoming object into a JSON string
return JSON.stringify(obj).replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/g, '"');
// Groups helpers
helpers.membershipBtn = function(groupObj) {
if (groupObj.isMember) {