olivernn/lunr.js — pull request #20 by DannyNemer (2013-04-16 07:26:18+00:00)
Title: Fixes Incorrect Sidebar Links

Functions with the same name had the same id. For example, `lunr.Pipeline.load()`, `lunr.SortedSet.load()`, `lunr.Index.load()`, etc., all had `id='load'`, so every `href='#load'` link in the sidebar jumped to `lunr.Pipeline.load()`, because it was the first `id='load'` on the page. These changes give every identically named function a unique id, such as, `#Pipeline-load`, `#SortedSet-load`, and `#Index-load`, so that the sidebar behaves correctly.