assets/js/pipeline.js
//generates random hash string for temporary filenames
generates random hash string for temporary filenames
generates random hash string for temporary filenames
function hash(s) {
    return s.split("").reduce(
        function (a, b) {
            a = ((a << 5) - a) + b.charCodeAt(0); return a & a
        }, 0);
}
function hash ( s ) { return s . split ( "" ) . reduce ( function ( a , b ) { a = ( ( a << 5 ) - a ) + b . charCodeAt ( 0 ) ; return a & a } , 0 ) ; }
generates random hash string for temporary filenames
generates random hash string for temporary filenames