Silly me.

This commit is contained in:
Zixaphir 2013-05-27 18:01:43 -07:00
parent f47f4aa4e5
commit 9c65bd1808
4 changed files with 44 additions and 64 deletions

View File

@ -11324,7 +11324,6 @@
asapInit: function() {
$.addClass(doc, 'presto');
$.addClass(doc, 'appchan-x');
$.addClass(doc, g.VIEW);
MascotTools.init();
if (g.VIEW === 'index') {
return $.asap((function() {
@ -11379,7 +11378,17 @@
agent: "-o-",
sizing: "box-sizing",
setup: function() {
this.addStyleReady();
var theme;
theme = Themes[Conf['theme']];
$.extend(Style, {
layoutCSS: $.addStyle(Style.layout(), 'layout'),
themeCSS: $.addStyle(Style.theme(theme), 'theme'),
icons: $.addStyle("", 'icons'),
paddingSheet: $.addStyle("", 'padding'),
mascot: $.addStyle("", 'mascotSheet')
});
$.addStyle(JSColor.css(), 'jsColor');
if (d.head) {
this.remStyle();
if (!Style.headCount) {
@ -11435,20 +11444,6 @@
return Style.padding();
},
headCount: 12,
addStyleReady: function() {
var theme;
theme = Themes[Conf['theme']];
$.extend(Style, {
layoutCSS: $.addStyle(Style.layout(), 'layout'),
themeCSS: $.addStyle(Style.theme(theme), 'theme'),
icons: $.addStyle("", 'icons'),
paddingSheet: $.addStyle("", 'padding'),
mascot: $.addStyle("", 'mascotSheet')
});
$.addStyle(JSColor.css(), 'jsColor');
return delete Style.addStyleReady;
},
remStyle: function() {
var i, node, nodes;

View File

@ -11318,7 +11318,6 @@
asapInit: function() {
$.addClass(doc, 'gecko');
$.addClass(doc, 'appchan-x');
$.addClass(doc, g.VIEW);
MascotTools.init();
if (g.VIEW === 'index') {
return $.asap((function() {
@ -11373,7 +11372,17 @@
agent: "-moz-",
sizing: "-moz-box-sizing",
setup: function() {
this.addStyleReady();
var theme;
theme = Themes[Conf['theme']];
$.extend(Style, {
layoutCSS: $.addStyle(Style.layout(), 'layout'),
themeCSS: $.addStyle(Style.theme(theme), 'theme'),
icons: $.addStyle("", 'icons'),
paddingSheet: $.addStyle("", 'padding'),
mascot: $.addStyle("", 'mascotSheet')
});
$.addStyle(JSColor.css(), 'jsColor');
if (d.head) {
this.remStyle();
if (!Style.headCount) {
@ -11429,20 +11438,6 @@
return Style.padding();
},
headCount: 12,
addStyleReady: function() {
var theme;
theme = Themes[Conf['theme']];
$.extend(Style, {
layoutCSS: $.addStyle(Style.layout(), 'layout'),
themeCSS: $.addStyle(Style.theme(theme), 'theme'),
icons: $.addStyle("", 'icons'),
paddingSheet: $.addStyle("", 'padding'),
mascot: $.addStyle("", 'mascotSheet')
});
$.addStyle(JSColor.css(), 'jsColor');
return delete Style.addStyleReady;
},
remStyle: function() {
var i, node, nodes;

View File

@ -11301,7 +11301,6 @@
$.addClass(doc, 'webkit');
$.addClass(doc, 'blink');
$.addClass(doc, 'appchan-x');
$.addClass(doc, g.VIEW);
MascotTools.init();
if (g.VIEW === 'index') {
return $.asap((function() {
@ -11356,7 +11355,17 @@
agent: "-webkit-",
sizing: "box-sizing",
setup: function() {
this.addStyleReady();
var theme;
theme = Themes[Conf['theme']];
$.extend(Style, {
layoutCSS: $.addStyle(Style.layout(), 'layout'),
themeCSS: $.addStyle(Style.theme(theme), 'theme'),
icons: $.addStyle("", 'icons'),
paddingSheet: $.addStyle("", 'padding'),
mascot: $.addStyle("", 'mascotSheet')
});
$.addStyle(JSColor.css(), 'jsColor');
if (d.head) {
this.remStyle();
if (!Style.headCount) {
@ -11412,20 +11421,6 @@
return Style.padding();
},
headCount: 12,
addStyleReady: function() {
var theme;
theme = Themes[Conf['theme']];
$.extend(Style, {
layoutCSS: $.addStyle(Style.layout(), 'layout'),
themeCSS: $.addStyle(Style.theme(theme), 'theme'),
icons: $.addStyle("", 'icons'),
paddingSheet: $.addStyle("", 'padding'),
mascot: $.addStyle("", 'mascotSheet')
});
$.addStyle(JSColor.css(), 'jsColor');
return delete Style.addStyleReady;
},
remStyle: function() {
var i, node, nodes;

View File

@ -14,7 +14,6 @@ Style =
$.addClass doc, 'gecko'
<% } %>
$.addClass doc, 'appchan-x'
$.addClass doc, g.VIEW
MascotTools.init()
@ -62,7 +61,17 @@ Style =
sizing: "<% if (type === 'userscript') { %>-moz-<% } else { %><% } %>box-sizing"
setup: ->
@addStyleReady()
theme = Themes[Conf['theme']]
$.extend Style,
layoutCSS: $.addStyle Style.layout(), 'layout'
themeCSS: $.addStyle Style.theme(theme), 'theme'
icons: $.addStyle "", 'icons'
paddingSheet: $.addStyle "", 'padding'
mascot: $.addStyle "", 'mascotSheet'
# Non-customizable
$.addStyle JSColor.css(), 'jsColor'
if d.head
@remStyle()
unless Style.headCount
@ -109,20 +118,6 @@ Style =
headCount: 12
addStyleReady: ->
theme = Themes[Conf['theme']]
$.extend Style,
layoutCSS: $.addStyle Style.layout(), 'layout'
themeCSS: $.addStyle Style.theme(theme), 'theme'
icons: $.addStyle "", 'icons'
paddingSheet: $.addStyle "", 'padding'
mascot: $.addStyle "", 'mascotSheet'
# Non-customizable
$.addStyle JSColor.css(), 'jsColor'
delete Style.addStyleReady
remStyle: ->
nodes = d.head.children
i = nodes.length