jgallen23/toc — pull request #13 by limodou (2012-07-10 04:46:36+00:00)
Title: add offset, hash options, and refactor headings process

1. Add offset option, sometimes the top position is not from 0, so this option can set the offset value from the top.
2. Add hash option, default is false, so that user can disable hashchange process.
3. Refactor headings process. Originally it'll save the headings positions at the initialization phrase, and after refacotring, it'll calulate immediately.