From 5d7df2bd338d0c6ca96a9969d35305dca1a00952 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Tue, 6 Aug 2013 17:57:05 -0700 Subject: [PATCH] Eh, why not? --- builds/appchan-x.user.js | 7 ++++--- builds/crx/script.js | 7 ++++--- src/Theming/Style.coffee | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index ef6cddbf4..610f3e7b0 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -11542,14 +11542,15 @@ items = [['prev', '<'], ['next', '>']]; i = 0; while (item = items[i++]) { - Style.pages(item[0], item[1]); + Style.pages(item); } }); } }, - pages: function(name, text) { - var action, el, elA; + pages: function(_arg) { + var action, el, elA, name, text; + name = _arg[0], text = _arg[1]; el = $(".pagelist > ." + name); elA = $.el('a', { textContent: text diff --git a/builds/crx/script.js b/builds/crx/script.js index 1363909c2..dcbf926c6 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -11530,14 +11530,15 @@ items = [['prev', '<'], ['next', '>']]; i = 0; while (item = items[i++]) { - Style.pages(item[0], item[1]); + Style.pages(item); } }); } }, - pages: function(name, text) { - var action, el, elA; + pages: function(_arg) { + var action, el, elA, name, text; + name = _arg[0], text = _arg[1]; el = $(".pagelist > ." + name); elA = $.el('a', { textContent: text diff --git a/src/Theming/Style.coffee b/src/Theming/Style.coffee index fa837fe8a..5636975d8 100644 --- a/src/Theming/Style.coffee +++ b/src/Theming/Style.coffee @@ -31,10 +31,10 @@ Style = ] i = 0 while item = items[i++] - Style.pages item[0], item[1] + Style.pages item return - pages: (name, text) -> + pages: ([name, text]) -> el = $ ".pagelist > .#{name}" elA = $.el 'a', textContent: text