Silly me.
This commit is contained in:
parent
f47f4aa4e5
commit
9c65bd1808
@ -11324,7 +11324,6 @@
|
|||||||
asapInit: function() {
|
asapInit: function() {
|
||||||
$.addClass(doc, 'presto');
|
$.addClass(doc, 'presto');
|
||||||
$.addClass(doc, 'appchan-x');
|
$.addClass(doc, 'appchan-x');
|
||||||
$.addClass(doc, g.VIEW);
|
|
||||||
MascotTools.init();
|
MascotTools.init();
|
||||||
if (g.VIEW === 'index') {
|
if (g.VIEW === 'index') {
|
||||||
return $.asap((function() {
|
return $.asap((function() {
|
||||||
@ -11379,7 +11378,17 @@
|
|||||||
agent: "-o-",
|
agent: "-o-",
|
||||||
sizing: "box-sizing",
|
sizing: "box-sizing",
|
||||||
setup: function() {
|
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) {
|
if (d.head) {
|
||||||
this.remStyle();
|
this.remStyle();
|
||||||
if (!Style.headCount) {
|
if (!Style.headCount) {
|
||||||
@ -11435,20 +11444,6 @@
|
|||||||
return Style.padding();
|
return Style.padding();
|
||||||
},
|
},
|
||||||
headCount: 12,
|
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() {
|
remStyle: function() {
|
||||||
var i, node, nodes;
|
var i, node, nodes;
|
||||||
|
|
||||||
|
|||||||
@ -11318,7 +11318,6 @@
|
|||||||
asapInit: function() {
|
asapInit: function() {
|
||||||
$.addClass(doc, 'gecko');
|
$.addClass(doc, 'gecko');
|
||||||
$.addClass(doc, 'appchan-x');
|
$.addClass(doc, 'appchan-x');
|
||||||
$.addClass(doc, g.VIEW);
|
|
||||||
MascotTools.init();
|
MascotTools.init();
|
||||||
if (g.VIEW === 'index') {
|
if (g.VIEW === 'index') {
|
||||||
return $.asap((function() {
|
return $.asap((function() {
|
||||||
@ -11373,7 +11372,17 @@
|
|||||||
agent: "-moz-",
|
agent: "-moz-",
|
||||||
sizing: "-moz-box-sizing",
|
sizing: "-moz-box-sizing",
|
||||||
setup: function() {
|
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) {
|
if (d.head) {
|
||||||
this.remStyle();
|
this.remStyle();
|
||||||
if (!Style.headCount) {
|
if (!Style.headCount) {
|
||||||
@ -11429,20 +11438,6 @@
|
|||||||
return Style.padding();
|
return Style.padding();
|
||||||
},
|
},
|
||||||
headCount: 12,
|
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() {
|
remStyle: function() {
|
||||||
var i, node, nodes;
|
var i, node, nodes;
|
||||||
|
|
||||||
|
|||||||
@ -11301,7 +11301,6 @@
|
|||||||
$.addClass(doc, 'webkit');
|
$.addClass(doc, 'webkit');
|
||||||
$.addClass(doc, 'blink');
|
$.addClass(doc, 'blink');
|
||||||
$.addClass(doc, 'appchan-x');
|
$.addClass(doc, 'appchan-x');
|
||||||
$.addClass(doc, g.VIEW);
|
|
||||||
MascotTools.init();
|
MascotTools.init();
|
||||||
if (g.VIEW === 'index') {
|
if (g.VIEW === 'index') {
|
||||||
return $.asap((function() {
|
return $.asap((function() {
|
||||||
@ -11356,7 +11355,17 @@
|
|||||||
agent: "-webkit-",
|
agent: "-webkit-",
|
||||||
sizing: "box-sizing",
|
sizing: "box-sizing",
|
||||||
setup: function() {
|
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) {
|
if (d.head) {
|
||||||
this.remStyle();
|
this.remStyle();
|
||||||
if (!Style.headCount) {
|
if (!Style.headCount) {
|
||||||
@ -11412,20 +11421,6 @@
|
|||||||
return Style.padding();
|
return Style.padding();
|
||||||
},
|
},
|
||||||
headCount: 12,
|
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() {
|
remStyle: function() {
|
||||||
var i, node, nodes;
|
var i, node, nodes;
|
||||||
|
|
||||||
|
|||||||
@ -14,7 +14,6 @@ Style =
|
|||||||
$.addClass doc, 'gecko'
|
$.addClass doc, 'gecko'
|
||||||
<% } %>
|
<% } %>
|
||||||
$.addClass doc, 'appchan-x'
|
$.addClass doc, 'appchan-x'
|
||||||
$.addClass doc, g.VIEW
|
|
||||||
|
|
||||||
MascotTools.init()
|
MascotTools.init()
|
||||||
|
|
||||||
@ -62,7 +61,17 @@ Style =
|
|||||||
sizing: "<% if (type === 'userscript') { %>-moz-<% } else { %><% } %>box-sizing"
|
sizing: "<% if (type === 'userscript') { %>-moz-<% } else { %><% } %>box-sizing"
|
||||||
|
|
||||||
setup: ->
|
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
|
if d.head
|
||||||
@remStyle()
|
@remStyle()
|
||||||
unless Style.headCount
|
unless Style.headCount
|
||||||
@ -109,20 +118,6 @@ Style =
|
|||||||
|
|
||||||
headCount: 12
|
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: ->
|
remStyle: ->
|
||||||
nodes = d.head.children
|
nodes = d.head.children
|
||||||
i = nodes.length
|
i = nodes.length
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user