summaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-09 14:56:40 -0600
committerDan McGee <dan@archlinux.org>2011-01-09 14:56:40 -0600
commit262f8f3749526a1ec04e208ba3e9945fc12f36ca (patch)
treeb426f3be2767891db10bc7368bd833d1c794d56c /media
parent76a986b0dbfdd9b5978c20b89a591ba519ddeee5 (diff)
Convert function expressions to declarations
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'media')
-rw-r--r--media/archweb.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/media/archweb.js b/media/archweb.js
index 28398c47..bbbc48b2 100644
--- a/media/archweb.js
+++ b/media/archweb.js
@@ -92,7 +92,7 @@ function ajaxifyFiles() {
}
/* packages/differences.html */
-filter_packages = function() {
+function filter_packages() {
// start with all rows, and then remove ones we shouldn't show
var rows = $('#tbody_differences').children();
var all_rows = rows;
@@ -130,16 +130,16 @@ filter_packages = function() {
rows.show();
// make sure we update the odd/even styling from sorting
$('.results').trigger('applyWidgets');
-};
-filter_reset = function() {
+}
+function filter_reset() {
$('#id_archonly').val('both');
$('#id_multilib').removeAttr('checked');
$('#id_minor').removeAttr('checked');
filter_packages();
-};
+}
/* todolists/view.html */
-todolist_flag = function() {
+function todolist_flag() {
var link = this;
$.getJSON(link.href, function(data) {
if (data.complete) {
@@ -151,4 +151,4 @@ todolist_flag = function() {
}
});
return false;
-};
+}