if (title.length) {
text = title + "\n" + text;
}
- alert(text);
+ // strip html tags as they are not parsed in standard alerts
+ alert($("<div/>").html(text).text());
return null;
}
};
return format.replace(/1.*234.*56/, result);
};
+ CRM.angRequires = function(name) {
+ return CRM.angular.requires[name] || [];
+ };
+
CRM.console = function(method, title, msg) {
if (window.console) {
method = $.isFunction(console[method]) ? method : 'log';