lib/sequelize-slugify.js
function (instance, sourceFields) {
        var slugParts = sourceFields.map(function (slugSourceField) {
            return instance[slugSourceField];
        });

        var options = (slugOptions && slugOptions.slugOptions) || { lower: true};
        return slug(slugParts.join(' '), options);
    }
function (instance, sourceFields) {
        var slugParts = sourceFields.map(function (slugSourceField) {
            return instance[slugSourceField];
        });

        var options = (slugOptions && slugOptions.slugOptions) || { lower: true};
        return slug(slugParts.join(' '), options);
    }
function ( instance , sourceFields ) { var slugParts = sourceFields . map ( function ( slugSourceField ) { return instance [ slugSourceField ] ; } ) ; var options = ( slugOptions && slugOptions . slugOptions ) || { lower : true } ; return slug ( slugParts . join ( ' ' ) , options ) ; }
takes the array of source fields from the model instance and builds the slug
takes the array of source fields from the model instance and builds the slug