Sha256: 0f4fc3f1ee7f8037a9b6950272b53424b56616fac24a0ed46fdb3845f3d3ee19

Contents?: true

Size: 297 Bytes

Versions: 5

Compression:

Stored size: 297 Bytes

Contents

$.fn.gauge = function(opts) {
  this.each(function() {
    var $this = $(this),
        data = $this.data();

    if (data.gauge) {
      data.gauge.stop();
      delete data.gauge;
    }
    if (opts !== false) {
      data.gauge = new Gauge(this).setOptions(opts);
    }
  });
  return this;
};

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
riemann-dash-0.2.14 lib/riemann/dash/public/vendor/jquery.gauge.js
riemann-dash-0.2.13 lib/riemann/dash/public/vendor/jquery.gauge.js
riemann-dash-0.2.12 lib/riemann/dash/public/vendor/jquery.gauge.js
riemann-dash-0.2.11 lib/riemann/dash/public/vendor/jquery.gauge.js
riemann-dash-0.2.10 lib/riemann/dash/public/vendor/jquery.gauge.js