because why not?

This commit is contained in:
Zixaphir 2015-01-12 17:36:23 -07:00
parent c2d6039358
commit b0f47e1b3b
3 changed files with 8 additions and 5 deletions

View File

@ -19414,11 +19414,12 @@
return $.cb.value.call(this); return $.cb.value.call(this);
}, },
style: function(section) { style: function(section) {
var arr, box, check, description, div, fs, html, input, inputs, items, key, name, nodes, obj, span, type, value, _i, _len, _ref; var arr, box, check, description, div, fs, html, input, inputs, items, key, mouseover, name, nodes, obj, span, type, value, _i, _len, _ref;
nodes = $.frag(); nodes = $.frag();
items = {}; items = {};
inputs = {}; inputs = {};
box = UI.checkbox; box = UI.checkbox;
mouseover = Settings.mouseover;
_ref = Config.style; _ref = Config.style;
for (key in _ref) { for (key in _ref) {
obj = _ref[key]; obj = _ref[key];
@ -19459,7 +19460,7 @@
} }
items[key] = Conf[key]; items[key] = Conf[key];
inputs[key] = input; inputs[key] = input;
$.on($('.option', div), 'mouseover', Settings.mouseover); $.on($('.option', div), 'mouseover', mouseover);
$.add(fs, div); $.add(fs, div);
} }
$.add(nodes, fs); $.add(nodes, fs);

View File

@ -19446,11 +19446,12 @@
return $.cb.value.call(this); return $.cb.value.call(this);
}, },
style: function(section) { style: function(section) {
var arr, box, check, description, div, fs, html, input, inputs, items, key, name, nodes, obj, span, type, value, _i, _len, _ref; var arr, box, check, description, div, fs, html, input, inputs, items, key, mouseover, name, nodes, obj, span, type, value, _i, _len, _ref;
nodes = $.frag(); nodes = $.frag();
items = {}; items = {};
inputs = {}; inputs = {};
box = UI.checkbox; box = UI.checkbox;
mouseover = Settings.mouseover;
_ref = Config.style; _ref = Config.style;
for (key in _ref) { for (key in _ref) {
obj = _ref[key]; obj = _ref[key];
@ -19491,7 +19492,7 @@
} }
items[key] = Conf[key]; items[key] = Conf[key];
inputs[key] = input; inputs[key] = input;
$.on($('.option', div), 'mouseover', Settings.mouseover); $.on($('.option', div), 'mouseover', mouseover);
$.add(fs, div); $.add(fs, div);
} }
$.add(nodes, fs); $.add(nodes, fs);

View File

@ -441,6 +441,7 @@ Settings =
inputs = {} inputs = {}
box = UI.checkbox box = UI.checkbox
{mouseover} = Settings
for key, obj of Config.style for key, obj of Config.style
@ -488,7 +489,7 @@ Settings =
items[key] = Conf[key] items[key] = Conf[key]
inputs[key] = input inputs[key] = input
$.on $('.option', div), 'mouseover', Settings.mouseover $.on $('.option', div), 'mouseover', mouseover
$.add fs, div $.add fs, div
$.add nodes, fs $.add nodes, fs