Version 0.1.4 of List.js is now released and it contains one major update and one minor.
The major one is that filters, search and sort now depend on each other. If you searches in a filtered list, the items hidden by the filter will stay hidden. The same goes if you have searched in a list and then filters the result.
The minor update is that .filter() is now used to reset filters instead of .filter(false).
Today a new version of List.js was released. There are one major change that you have to be aware of!
The sort buttons now sorts values based on data-sort=”valueName” instead of rel=”valueName”. The resone for this is basically that rel=”” is not valid at most elements according to W3C.
Other changes in the 0.1.3 release (from the documentation):
Go to github.com/javve/list to download the latest version (and remember to change your sort button)!
There have been some questions about List.js performance. How many items can it handle? How fast is the indexing, sorting and searching in larger lists?
Today I have an answer: Try it yourself at http://listjs.com/examples/performance-test.html
But for you who just want some quick stats have I done some benchmarking myself.
Important: All these stats are based on first runs (read more about first runs in the last paragraph of this blog post). And I have a new Macbook Pro and Chrome, so these stats are first run-best cases):
One thing worth mentioning when it comes to List.js and performance is that the default settings (changeable) only allows 200 items to be visible at the same time. This is to boost performance and helps A LOT for larger list.
(Hint: In future releases the handling of larger lists will be much smoother, promis)
It has been a amazing week. For a couple of hours today List.js was:
It shares the same top 5 fork-list as Twitter-Bootstrap, jQuery-Mobile and Noje.js.
No pressure, no pressure. ..
It has also been published in some blogs etc. Really appreciate it! <3
Anyway, coming up next in List.js:
That its! Back to coding…
Tonight I added the Listjs.com website to List.js Github repository. The reason for this is simply that its a more convenient structure for myself and there will also be easier to download the List.js examples and try them out locally.
My original plan for tonight was to release some examples showing of performance and benchmarking, but other work got in the way. But I promis you, its worth waiting for.
Woah! List.js first 45 hours out in the wild have been pretty crazy.
I “released” the script around 22:00 CEST this Wednesday (when the swedish podcast Webbradion 55 aired).
Today, 24 hours after it was posted to Hacker News, Listjs.com have had 27 500 visitors, been tweeted 269 times, liked 57 times and +1’d 68 times.
In addition to that github.com/javve/list got 439 watchers, 21 forks and one code contribution!
Probably the best thing is the amazing response at Twitter, Im so freakin’ happy right now.