https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,fetch
# Conflicts:
# extension.json
"ext.wrmap": {
"scripts": [
"wrmap.js",
- "vendor/ol.js"
+ "vendor/ol.js",
+ "vendor/polyfill.min.js"
],
"styles": [
"wrmap.css",
--- /dev/null
+/* Disable minification (remove `.min` from URL path) for more info */
+
+(function(undefined) {}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
\ No newline at end of file
assert(in_array($tagname, array('wrmap', 'wrgmap')));
$parserOutput = $parser->getOutput();
- // Polyfill für Internet Explorer
- $parserOutput->addHeadItem('<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,fetch"></script>', 'polyfill_ie');
$parserOutput->addModules('ext.wrmap');
// append all sledruns as icon