openlayers scales to resolutions

https://github.com/openlayers/ol3/issues/757

I got the resolutions, simply by running it in my OL2 example and calling


scales=[10000, 25000, 50000, 100000, 250000, 500000, 1000000, 2000000, 4000000,
8000000];
ress=[];
for (var i = -1, leni = scales.length; ++i < leni;) {
ress[i]=OpenLayers.Util.getResolutionFromScale(scales[i],'m');
}
ress;

in the Chrome dev tools.