Move all files to javascript folder and remove coffeescript folder

This commit is contained in:
Mohsen Azimi
2015-03-12 15:51:01 -07:00
parent f21ade9ba7
commit 215a8fa63e
14 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
'use strict';
Handlebars.registerHelper('sanitize', function(html) {
// Strip the script tags from the html, and return it as a Handlebars.SafeString
html = html.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, '');
return new Handlebars.SafeString(html);
});