Merge stash

This commit is contained in:
Matthias Jentsch 2014-09-10 15:53:30 +02:00
parent 7aadad913e
commit e216ba6721
1 changed files with 1 additions and 3 deletions

View File

@ -12,14 +12,12 @@
};
Sparkline.prototype.apply = function(el) {
var self = this, icinga = this.icinga;
$('span.sparkline', el).each(function(i, element) {
// read custom options
var $spark = $(element);
var labels = $spark.attr('labels').split('|');
var formatted = $spark.attr('formatted').split('|');
var tooltipChartTitle = $spark.attr('sparkSparklineChartTitle') || '';
var tooltipChartTitle = $spark.attr('sparkTooltipChartTitle') || '';
var format = $spark.attr('tooltipformat');
var hideEmpty = $spark.attr('hideEmptyLabel') === 'true';
$spark.sparkline(