Commit graph

6 commits

Author SHA1 Message Date
Snorre Magnus Davøen 068db211d5 Uses Fuse.js fuzzy search to filter municipalities
Instead of using naive string search to filter the muncipalities we
can use the fuzzy search library Fuse.js to filter them. This way
incorrect spelling of municipality names won't stop the user from
getting the results she is looking for.

Fuse.js http://fusejs.io/ contains no dependencies and is quite light
weight. This makes it a good library for such a simple site.

Signed-off-by: Snorre Magnus Davøen <snorremd@gmail.com>
2017-07-21 15:27:07 +02:00
Nils Norman Haukås 5b4abecf5c Persist state to url 2017-07-13 21:13:09 +02:00
Nils Norman Haukås 15ab2c2269 add gh-page dependency. Add deploy script 2017-07-13 17:34:05 +02:00
Nils Norman Haukås 1026ec08b3 refactor. Add municipality resource file. 2017-07-12 20:15:27 +02:00
Nils Norman Haukås 07fb03069d Add innuitcss. More refactor 2017-07-12 19:29:58 +02:00
Nils Norman Haukås 1b39668abb initial commit 2017-07-12 15:49:23 +02:00