hardlounge/client/js/libs/handlebars/slugify.js

6 lines
106 B
JavaScript
Raw Normal View History

"use strict";
module.exports = function(orig) {
return orig.toLowerCase().replace(/[^a-z0-9]/, "-");
};