|
|
@ -1,6 +1,6 @@ |
|
|
|
// Generated by CoffeeScript 1.2.1-pre
|
|
|
|
// Generated by CoffeeScript 1.2.1-pre
|
|
|
|
(function() { |
|
|
|
(function() { |
|
|
|
var activate, active, add_class, deactivate, hover, padding, reactive, rm_class, svg, tooltip, tooltip_font_size, tooltip_timeout, untooltip, _, __, |
|
|
|
var activate, add_class, deactivate, hover, padding, rm_class, svg, tooltip, tooltip_font_size, tooltip_timeout, untooltip, _, __, |
|
|
|
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }, |
|
|
|
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }, |
|
|
|
__slice = [].slice; |
|
|
|
__slice = [].slice; |
|
|
|
|
|
|
|
|
|
|
@ -71,14 +71,6 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
reactive = function(element) { |
|
|
|
|
|
|
|
return document.getElementById('re' + element.id); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
active = function(element) { |
|
|
|
|
|
|
|
return document.getElementById(element.id.replace(/re/, '')); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hover = function(elts, over, out) { |
|
|
|
hover = function(elts, over, out) { |
|
|
|
var elt, _i, _len, _results; |
|
|
|
var elt, _i, _len, _results; |
|
|
|
_results = []; |
|
|
|
_results = []; |
|
|
@ -123,35 +115,38 @@ |
|
|
|
text = _ref[_i]; |
|
|
|
text = _ref[_i]; |
|
|
|
text.setAttribute('display', 'none'); |
|
|
|
text.setAttribute('display', 'none'); |
|
|
|
} |
|
|
|
} |
|
|
|
hover(_('.reactive-text'), (function() { |
|
|
|
|
|
|
|
return activate(this, active(this)); |
|
|
|
|
|
|
|
}), (function() { |
|
|
|
|
|
|
|
return deactivate(this, active(this)); |
|
|
|
|
|
|
|
})); |
|
|
|
|
|
|
|
hover(_('.reactive'), (function() { |
|
|
|
hover(_('.reactive'), (function() { |
|
|
|
return activate(this, reactive(this)); |
|
|
|
return activate(this); |
|
|
|
}), (function() { |
|
|
|
}), (function() { |
|
|
|
return deactivate(this, reactive(this)); |
|
|
|
return deactivate(this); |
|
|
|
})); |
|
|
|
})); |
|
|
|
hover(_('.activate-serie'), (function() { |
|
|
|
hover(_('.activate-serie'), (function() { |
|
|
|
var element, num, _j, _len2, _ref2, _results; |
|
|
|
var element, num, _j, _k, _len2, _len3, _ref2, _ref3, _results; |
|
|
|
num = this.id.replace('activate-serie-', ''); |
|
|
|
num = this.id.replace('activate-serie-', ''); |
|
|
|
_('.text-overlay .serie-' + num)[0].setAttribute('display', 'inline'); |
|
|
|
_ref2 = _('.text-overlay .serie-' + num); |
|
|
|
_ref2 = _('.serie-' + num + ' .reactive'); |
|
|
|
|
|
|
|
_results = []; |
|
|
|
|
|
|
|
for (_j = 0, _len2 = _ref2.length; _j < _len2; _j++) { |
|
|
|
for (_j = 0, _len2 = _ref2.length; _j < _len2; _j++) { |
|
|
|
element = _ref2[_j]; |
|
|
|
element = _ref2[_j]; |
|
|
|
|
|
|
|
element.setAttribute('display', 'inline'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
_ref3 = _('.serie-' + num + ' .reactive'); |
|
|
|
|
|
|
|
_results = []; |
|
|
|
|
|
|
|
for (_k = 0, _len3 = _ref3.length; _k < _len3; _k++) { |
|
|
|
|
|
|
|
element = _ref3[_k]; |
|
|
|
_results.push(activate(element, reactive(element))); |
|
|
|
_results.push(activate(element, reactive(element))); |
|
|
|
} |
|
|
|
} |
|
|
|
return _results; |
|
|
|
return _results; |
|
|
|
}), (function() { |
|
|
|
}), (function() { |
|
|
|
var element, num, _j, _len2, _ref2, _results; |
|
|
|
var element, num, _j, _k, _len2, _len3, _ref2, _ref3, _results; |
|
|
|
num = this.id.replace('activate-serie-', ''); |
|
|
|
num = this.id.replace('activate-serie-', ''); |
|
|
|
_('.text-overlay .serie-' + num)[0].setAttribute('display', 'none'); |
|
|
|
_ref2 = _('.text-overlay .serie-' + num); |
|
|
|
_ref2 = _('.serie-' + num + ' .reactive'); |
|
|
|
|
|
|
|
_results = []; |
|
|
|
|
|
|
|
for (_j = 0, _len2 = _ref2.length; _j < _len2; _j++) { |
|
|
|
for (_j = 0, _len2 = _ref2.length; _j < _len2; _j++) { |
|
|
|
element = _ref2[_j]; |
|
|
|
element = _ref2[_j]; |
|
|
|
|
|
|
|
element.setAttribute('display', 'none'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
_ref3 = _('.serie-' + num + ' .reactive'); |
|
|
|
|
|
|
|
_results = []; |
|
|
|
|
|
|
|
for (_k = 0, _len3 = _ref3.length; _k < _len3; _k++) { |
|
|
|
|
|
|
|
element = _ref3[_k]; |
|
|
|
_results.push(deactivate(element, reactive(element))); |
|
|
|
_results.push(deactivate(element, reactive(element))); |
|
|
|
} |
|
|
|
} |
|
|
|
return _results; |
|
|
|
return _results; |
|
|
|