Sha256: ab4af00b25f7df9ca26d1f2995b72b7dede355bb623bd87a6969e8fd9bc112ba
Contents?: true
Size: 403 Bytes
Versions: 69
Compression:
Stored size: 403 Bytes
Contents
define(['../lang/toString', './slugify', './unCamelCase'], function(toString, slugify, unCamelCase){ /** * Replaces spaces with underscores, split camelCase text, remove non-word chars, remove accents and convert to lower case. */ function underscore(str){ str = toString(str); str = unCamelCase(str); return slugify(str, "_"); } return underscore; });
Version data entries
69 entries across 69 versions & 2 rubygems