nopr/sassdown — pull request #42 by m5o (2014-02-12 16:02:04+00:00)
Title: generate unique not random id from string

Problem:
if you commit the styleguide output to a git/svn, each change generates random id for every page in the styleguide.

searched for a JS build in function w/o success. In the end the solution from [1] seems elegant. Check [2] for benchmarks.

Resources:
* [1] http://stackoverflow.com/a/7616484
* [2] http://jsperf.com/hashing-strings