Commit Graph

3 Commits

Author SHA1 Message Date
Dan McGee
1a8114c00f Make package differences JS a bit more efficient
Use an id-based selector so we can get the necessary table rows to filter a
lot more quickly than a lengthy CSS selector. Also use traversal rather than
selectors when grabbing the package versions. This looked like a 3x-4x
increase in speed while testing locally.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-26 14:43:47 -05:00
Dan McGee
29218aa752 Package differences small updates
* Add 'multilib-testing' to the CSS class list to hide for [multilib]
* Select 'Only In Both' by default, which is probably the most useful option
* Unselect 'Minor Version Mismatches' by default

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-20 17:39:42 -05:00
Dan McGee
3682fb285b Move most inline JS into script file
We're getting to the point where we are starting to have a good chunk of JS
scattered about. Centralize a lot of it for maintenance and performance
purposes.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-30 13:15:20 -05:00