Commit Graph

6 Commits

Author SHA1 Message Date
Dan McGee
262f8f3749 Convert function expressions to declarations
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-09 14:56:40 -06:00
Dan McGee
76a986b0db gjslint recommended javascript cleanups
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-09 14:36:20 -06:00
Dan McGee
2cc75b6939 Add a long datetime parser to table sorting code
This comes into play on our new developer clocks page, where the last column
was not sorting at all as expected.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08 18:41:23 -06:00
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