kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Include new/updated libraries
rodzic
d76bd2fc69
commit
8b68e3d934
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,2 @@
|
||||||
|
/* Tabulator v4.9.3 (c) Oliver Folkerd */
|
||||||
|
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","tabulator","jquery-ui"],e):"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery"),require("tabulator"),require("jquery-ui")):e(jQuery,Tabulator)}(function(e,t){e.widget("ui.tabulator",{_create:function(){var e=Object.assign({},this.options);delete e.create,delete e.disabled,this.table=new t(this.element[0],e);for(var o in t.prototype)"function"==typeof t.prototype[o]&&"_"!==o.charAt(0)&&(this[o]=this.table[o].bind(this.table))},_setOption:function(e,t){console.error("Tabulator jQuery wrapper does not support setting options after the table has been instantiated")},_destroy:function(e,t){this.table.destroy()}})});
|
||||||
Plik diff jest za duży
Load Diff
|
|
@ -0,0 +1,41 @@
|
||||||
|
(function (factory, window) {
|
||||||
|
// define an AMD module that relies on 'leaflet'
|
||||||
|
if (typeof define === 'function' && define.amd) {
|
||||||
|
define(['leaflet'], factory);
|
||||||
|
|
||||||
|
// define a Common JS module that relies on 'leaflet'
|
||||||
|
} else if (typeof exports === 'object') {
|
||||||
|
module.exports = factory(require('leaflet'));
|
||||||
|
}
|
||||||
|
|
||||||
|
// attach your plugin to the global 'L' variable
|
||||||
|
if (typeof window !== 'undefined' && window.L && !window.L.EdgeBuffer) {
|
||||||
|
factory(window.L);
|
||||||
|
}
|
||||||
|
}(function (L) {
|
||||||
|
L.EdgeBuffer = {
|
||||||
|
previousMethods: {
|
||||||
|
getTiledPixelBounds: L.GridLayer.prototype._getTiledPixelBounds
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
L.GridLayer.include({
|
||||||
|
|
||||||
|
_getTiledPixelBounds : function(center, zoom, tileZoom) {
|
||||||
|
var pixelBounds = L.EdgeBuffer.previousMethods.getTiledPixelBounds.call(this, center, zoom, tileZoom);
|
||||||
|
|
||||||
|
// Default is to buffer one tiles beyond the pixel bounds (edgeBufferTiles = 1).
|
||||||
|
var edgeBufferTiles = 1;
|
||||||
|
if ((this.options.edgeBufferTiles !== undefined) && (this.options.edgeBufferTiles !== null)) {
|
||||||
|
edgeBufferTiles = this.options.edgeBufferTiles;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (edgeBufferTiles > 0) {
|
||||||
|
var pixelEdgeBuffer = L.GridLayer.prototype.getTileSize.call(this).multiplyBy(edgeBufferTiles);
|
||||||
|
pixelBounds = new L.Bounds(pixelBounds.min.subtract(pixelEdgeBuffer), pixelBounds.max.add(pixelEdgeBuffer));
|
||||||
|
}
|
||||||
|
return pixelBounds;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
}, window));
|
||||||
File diff suppressed because one or more lines are too long
Ładowanie…
Reference in New Issue