Moved hint mode and usage params to the hint instantiation.
authorDaniel Carl <danielcarl@gmx.de>
Sat, 9 Mar 2013 00:15:25 +0000 (01:15 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Sat, 9 Mar 2013 00:15:25 +0000 (01:15 +0100)
commit05648ca5e7ab08a6626d458d94022480ecfbcffb
treee0fe89fa0b122638923ecae2591381790a287459
parent072d505f66d39dbef45bd857de67eaa71484e7ae
Moved hint mode and usage params to the hint instantiation.

It's better to set those settings to the constructor of the hinting object
instead of giving this to the hints create function. Also the config object
was emoved to keep the JavaScript a little smaller.
src/config.h
src/hints.c
src/hints.js
src/history.c