This commit is contained in:
Zixaphir 2014-02-17 07:33:32 -07:00
parent 0b65c2af56
commit 0d7668472f
4 changed files with 7 additions and 11 deletions

View File

@ -1,5 +1,5 @@
/*
* appchan x - Version 2.8.11 - 2014-02-16
* appchan x - Version 2.8.11 - 2014-02-17
*
* Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE

View File

@ -24,7 +24,7 @@
// ==/UserScript==
/*
* appchan x - Version 2.8.11 - 2014-02-16
* appchan x - Version 2.8.11 - 2014-02-17
*
* Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
@ -13621,9 +13621,6 @@
Style.sheets[item[0]] = $.addStyle(item[1], item[0]);
}
$.addStyle(JSColor.css(), 'jsColor');
$.asap((function() {
return d.head;
}), Style.remStyle);
$.asap((function() {
return d.body;
}), this.asapInit);
@ -13639,6 +13636,7 @@
$.addClass(doc, 'fourchan-x');
$.addClass(doc, 'appchan-x');
$.addClass(doc, g.VIEW);
Style.remStyle();
_ref = Config.style;
for (title in _ref) {
cat = _ref[title];

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript
/*
* appchan x - Version 2.8.11 - 2014-02-16
* appchan x - Version 2.8.11 - 2014-02-17
*
* Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
@ -13622,9 +13622,6 @@
Style.sheets[item[0]] = $.addStyle(item[1], item[0]);
}
$.addStyle(JSColor.css(), 'jsColor');
$.asap((function() {
return d.head;
}), Style.remStyle);
$.asap((function() {
return d.body;
}), this.asapInit);
@ -13641,6 +13638,7 @@
$.addClass(doc, 'appchan-x');
$.addClass(doc, g.VIEW);
$.add(d.body, Style.svgs.el);
Style.remStyle();
_ref = Config.style;
for (title in _ref) {
cat = _ref[title];

View File

@ -25,8 +25,6 @@ Style =
# Non-customizable
$.addStyle JSColor.css(), 'jsColor'
$.asap (-> d.head), Style.remStyle
$.asap (-> d.body), @asapInit
$.asap (-> Header.bar.parentElement), Style.padding
$.on window, "resize", Style.padding
@ -46,6 +44,8 @@ Style =
$.add d.body, Style.svgs.el
<% } %>
Style.remStyle()
for title, cat of Config.style
for name, setting of cat
continue if !Conf[name] or setting[2] is 'text' or name in ['NSFW/SFW Themes', 'NSFW/SFW Mascots']