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

Version Path
trusty-festivity-extension-2.3.1 node_modules/bower/node_modules/mout/src/string/underscore.js
trusty-festivity-extension-2.3.0 node_modules/bower/node_modules/mout/src/string/underscore.js
entangled-0.0.16 spec/dummy/public/node_modules/bower/node_modules/mout/src/string/underscore.js
entangled-0.0.15 spec/dummy/public/node_modules/bower/node_modules/mout/src/string/underscore.js
entangled-0.0.14 spec/dummy/public/node_modules/bower/node_modules/mout/src/string/underscore.js
entangled-0.0.13 spec/dummy/public/node_modules/bower/node_modules/mout/src/string/underscore.js
entangled-0.0.12 spec/dummy/public/node_modules/bower/node_modules/mout/src/string/underscore.js
entangled-0.0.11 spec/dummy/public/node_modules/bower/node_modules/mout/src/string/underscore.js
entangled-0.0.10 spec/dummy/public/node_modules/bower/node_modules/mout/src/string/underscore.js