Closed
Description
For example on https://contacts.google.com/preview/all it detects the Leaflet library with an undefined version.
I think it's because the name is too short: "L".
I suggest we could force control of "version" property to be sure it's really the Leaflet lib:
'Leaflet': {
icon: 'leaflet',
url: 'http://leafletjs.com',
test: function(win) {
if (win.L && win.L.version) {
return {version: win.L.version};
}
return false;
}
},