Files
nodeMap/MessagesMap/Scripts/stand-alone.js
2024-04-27 15:47:36 +02:00

19 lines
504 B
JavaScript

var svgPanZoom = require('./svg-pan-zoom.js');
// UMD module definition
(function(window, document){
// AMD
if (typeof define === 'function' && define.amd) {
define('svg-pan-zoom', function () {
return svgPanZoom;
});
// CMD
} else if (typeof module !== 'undefined' && module.exports) {
module.exports = svgPanZoom;
// Browser
// Keep exporting globally as module.exports is available because of browserify
window.svgPanZoom = svgPanZoom;
}
})(window, document)