at path:
ROOT
/
sistema
/
vendors
/
flot
/
jquery.flot.resize.js
run:
R
W
Run
examples
DIR
2026-04-09 04:12:40
R
W
Run
.bower.json
415 By
2018-11-08 02:46:18
R
W
Run
Delete
Rename
.gitignore
40 By
2018-11-08 02:46:18
R
W
Run
Delete
Rename
.travis.yml
35 By
2018-11-08 02:46:18
R
W
Run
Delete
Rename
API.md
52.32 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
CONTRIBUTING.md
3.17 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
FAQ.md
3.16 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
LICENSE.txt
1.04 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
Makefile
285 By
2018-11-08 02:46:18
R
W
Run
Delete
Rename
NEWS.md
39.35 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
PLUGINS.md
4.24 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
README.md
3.69 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
component.json
114 By
2018-11-08 02:46:18
R
W
Run
Delete
Rename
excanvas.js
40.96 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
excanvas.min.js
18.86 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
flot.jquery.json
837 By
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.colorhelpers.js
6.01 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.flot.canvas.js
9.37 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.flot.categories.js
5.89 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.flot.crosshair.js
5.29 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.flot.errorbars.js
12.32 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.flot.fillbetween.js
5.13 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.flot.image.js
7.19 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.flot.js
120.09 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.flot.navigate.js
13.88 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.flot.pie.js
23.25 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.flot.resize.js
3.24 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.flot.selection.js
12.83 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.flot.stack.js
6.92 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.flot.symbol.js
2.45 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.flot.threshold.js
4.38 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.flot.time.js
11.49 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
jquery.js
259.82 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
package.json
154 By
2018-11-08 02:46:18
R
W
Run
Delete
Rename
error_log
up
📄
jquery.flot.resize.js
Save
/* Flot plugin for automatically redrawing plots as the placeholder resizes. Copyright (c) 2007-2014 IOLA and Ole Laursen. Licensed under the MIT license. It works by listening for changes on the placeholder div (through the jQuery resize event plugin) - if the size changes, it will redraw the plot. There are no options. If you need to disable the plugin for some plots, you can just fix the size of their placeholders. */ /* Inline dependency: * jQuery resize event - v1.1 - 3/14/2010 * http://benalman.com/projects/jquery-resize-plugin/ * * Copyright (c) 2010 "Cowboy" Ben Alman * Dual licensed under the MIT and GPL licenses. * http://benalman.com/about/license/ */ (function($,e,t){"$:nomunge";var i=[],n=$.resize=$.extend($.resize,{}),a,r=false,s="setTimeout",u="resize",m=u+"-special-event",o="pendingDelay",l="activeDelay",f="throttleWindow";n[o]=200;n[l]=20;n[f]=true;$.event.special[u]={setup:function(){if(!n[f]&&this[s]){return false}var e=$(this);i.push(this);e.data(m,{w:e.width(),h:e.height()});if(i.length===1){a=t;h()}},teardown:function(){if(!n[f]&&this[s]){return false}var e=$(this);for(var t=i.length-1;t>=0;t--){if(i[t]==this){i.splice(t,1);break}}e.removeData(m);if(!i.length){if(r){cancelAnimationFrame(a)}else{clearTimeout(a)}a=null}},add:function(e){if(!n[f]&&this[s]){return false}var i;function a(e,n,a){var r=$(this),s=r.data(m)||{};s.w=n!==t?n:r.width();s.h=a!==t?a:r.height();i.apply(this,arguments)}if($.isFunction(e)){i=e;return a}else{i=e.handler;e.handler=a}}};function h(t){if(r===true){r=t||1}for(var s=i.length-1;s>=0;s--){var l=$(i[s]);if(l[0]==e||l.is(":visible")){var f=l.width(),c=l.height(),d=l.data(m);if(d&&(f!==d.w||c!==d.h)){l.trigger(u,[d.w=f,d.h=c]);r=t||true}}else{d=l.data(m);d.w=0;d.h=0}}if(a!==null){if(r&&(t==null||t-r<1e3)){a=e.requestAnimationFrame(h)}else{a=setTimeout(h,n[o]);r=false}}}if(!e.requestAnimationFrame){e.requestAnimationFrame=function(){return e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t,i){return e.setTimeout(function(){t((new Date).getTime())},n[l])}}()}if(!e.cancelAnimationFrame){e.cancelAnimationFrame=function(){return e.webkitCancelRequestAnimationFrame||e.mozCancelRequestAnimationFrame||e.oCancelRequestAnimationFrame||e.msCancelRequestAnimationFrame||clearTimeout}()}})(jQuery,this); (function ($) { var options = { }; // no options function init(plot) { function onResize() { var placeholder = plot.getPlaceholder(); // somebody might have hidden us and we can't plot // when we don't have the dimensions if (placeholder.width() == 0 || placeholder.height() == 0) return; plot.resize(); plot.setupGrid(); plot.draw(); } function bindEvents(plot, eventHolder) { plot.getPlaceholder().resize(onResize); } function shutdown(plot, eventHolder) { plot.getPlaceholder().unbind("resize", onResize); } plot.hooks.bindEvents.push(bindEvents); plot.hooks.shutdown.push(shutdown); } $.plot.plugins.push({ init: init, options: options, name: 'resize', version: '1.0' }); })(jQuery);