cleaner return 2
This commit is contained in:
parent
3d2fc98544
commit
c9b7ba0962
@ -14340,17 +14340,15 @@
|
||||
return Style.dynamicCSS.textContent = Style.dynamic();
|
||||
},
|
||||
select: function() {
|
||||
var hyphenated, option, _i, _len, _ref, _results;
|
||||
var hyphenated, option, _i, _len, _ref;
|
||||
|
||||
$.cb.value.call(this);
|
||||
_ref = this.options;
|
||||
_results = [];
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
option = _ref[_i];
|
||||
hyphenated = ("" + this.name + " " + option.value).toLowerCase().replace(/^4/, 'four').replace(/\s+/g, '-');
|
||||
_results.push((option.value === this.value ? $.addClass : $.rmClass)(doc, hyphenated));
|
||||
(option.value === this.value ? $.addClass : $.rmClass)(doc, hyphenated);
|
||||
}
|
||||
return _results;
|
||||
}
|
||||
},
|
||||
mascot: {
|
||||
|
||||
@ -14336,17 +14336,15 @@
|
||||
return Style.dynamicCSS.textContent = Style.dynamic();
|
||||
},
|
||||
select: function() {
|
||||
var hyphenated, option, _i, _len, _ref, _results;
|
||||
var hyphenated, option, _i, _len, _ref;
|
||||
|
||||
$.cb.value.call(this);
|
||||
_ref = this.options;
|
||||
_results = [];
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
option = _ref[_i];
|
||||
hyphenated = ("" + this.name + " " + option.value).toLowerCase().replace(/^4/, 'four').replace(/\s+/g, '-');
|
||||
_results.push((option.value === this.value ? $.addClass : $.rmClass)(doc, hyphenated));
|
||||
(option.value === this.value ? $.addClass : $.rmClass)(doc, hyphenated);
|
||||
}
|
||||
return _results;
|
||||
}
|
||||
},
|
||||
mascot: {
|
||||
|
||||
@ -14318,17 +14318,15 @@
|
||||
return Style.dynamicCSS.textContent = Style.dynamic();
|
||||
},
|
||||
select: function() {
|
||||
var hyphenated, option, _i, _len, _ref, _results;
|
||||
var hyphenated, option, _i, _len, _ref;
|
||||
|
||||
$.cb.value.call(this);
|
||||
_ref = this.options;
|
||||
_results = [];
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
option = _ref[_i];
|
||||
hyphenated = ("" + this.name + " " + option.value).toLowerCase().replace(/^4/, 'four').replace(/\s+/g, '-');
|
||||
_results.push((option.value === this.value ? $.addClass : $.rmClass)(doc, hyphenated));
|
||||
(option.value === this.value ? $.addClass : $.rmClass)(doc, hyphenated);
|
||||
}
|
||||
return _results;
|
||||
}
|
||||
},
|
||||
mascot: {
|
||||
|
||||
@ -815,6 +815,7 @@ Settings =
|
||||
for option in @options
|
||||
hyphenated = "#{@name} #{option.value}".toLowerCase().replace(/^4/, 'four').replace /\s+/g, '-'
|
||||
(if option.value is @value then $.addClass else $.rmClass) doc, hyphenated
|
||||
return
|
||||
|
||||
mascot:
|
||||
category: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user