[ofbiz-framework] branch trunk updated: Improved: Add missing map for minified OpenLayers js and css (OFBIZ-11883)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Improved: Add missing map for minified OpenLayers js and css (OFBIZ-11883)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 4c82aba  Improved: Add missing map for minified OpenLayers js and css (OFBIZ-11883)
4c82aba is described below

commit 4c82aba030b3a719a61b650cb22e6d3d2e8d8d08
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Tue Jul 21 20:24:24 2020 +0200

    Improved: Add missing map for minified OpenLayers js and css (OFBIZ-11883)
   
    Finally removes ol.js.map and references to it because it does not help due to
    concatenations of multiple files in the multi mb source distribution.
   
    Thanks: Alex Bodnaru for inquiry
---
 themes/common-theme/webapp/common/js/plugins/OpenLayers-5.3.0.css | 3 +--
 themes/common-theme/webapp/common/js/plugins/OpenLayers-5.3.0.js  | 3 +--
 themes/common-theme/webapp/common/js/plugins/ol.js.map            | 1 -
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/themes/common-theme/webapp/common/js/plugins/OpenLayers-5.3.0.css b/themes/common-theme/webapp/common/js/plugins/OpenLayers-5.3.0.css
index b798e8f..401beed 100755
--- a/themes/common-theme/webapp/common/js/plugins/OpenLayers-5.3.0.css
+++ b/themes/common-theme/webapp/common/js/plugins/OpenLayers-5.3.0.css
@@ -1,2 +1 @@
-.ol-box{box-sizing:border-box;border-radius:2px;border:2px solid #00f}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:rgba(0,60,136,.3);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width}.ol-overlay-container{will-change:left,right,top,bottom}.ol-unsupported{display:none}.ol-unselectable,.ol-viewport [...]
-/*# sourceMappingURL=ol.css.map */
\ No newline at end of file
+.ol-box{box-sizing:border-box;border-radius:2px;border:2px solid #00f}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:rgba(0,60,136,.3);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width}.ol-overlay-container{will-change:left,right,top,bottom}.ol-unsupported{display:none}.ol-unselectable,.ol-viewport [...]
\ No newline at end of file
diff --git a/themes/common-theme/webapp/common/js/plugins/OpenLayers-5.3.0.js b/themes/common-theme/webapp/common/js/plugins/OpenLayers-5.3.0.js
index 8ed611d..6702190 100755
--- a/themes/common-theme/webapp/common/js/plugins/OpenLayers-5.3.0.js
+++ b/themes/common-theme/webapp/common/js/plugins/OpenLayers-5.3.0.js
@@ -4,5 +4,4 @@
  * Latitude/longitude spherical geodesy formulae taken from
  * http://www.movable-type.co.uk/scripts/latlong.html
  * Licensed under CC-BY-3.0.
- */var Wt=6371008.8;function Kt(t,e,i){var r=i||Wt,n=Vt(t[1]),o=Vt(e[1]),s=(o-n)/2,a=Vt(e[0]-t[0])/2,h=Math.sin(s)*Math.sin(s)+Math.sin(a)*Math.sin(a)*Math.cos(n)*Math.cos(o);return 2*r*Math.atan2(Math.sqrt(h),Math.sqrt(1-h))}function Ht(t,e){for(var i=0,r=0,n=t.length;r<n-1;++r)i+=Kt(t[r],t[r+1],e);return i}function Zt(t,e){for(var i=0,r=t.length,n=t[r-1][0],o=t[r-1][1],s=0;s<r;s++){var a=t[s][0],h=t[s][1];i+=Vt(a-n)*(2+Math.sin(Vt(o))+Math.sin(Vt(h))),n=a,o=h}return i*e*e/2}function qt [...]
-//# sourceMappingURL=ol.js.map
\ No newline at end of file
+ */var Wt=6371008.8;function Kt(t,e,i){var r=i||Wt,n=Vt(t[1]),o=Vt(e[1]),s=(o-n)/2,a=Vt(e[0]-t[0])/2,h=Math.sin(s)*Math.sin(s)+Math.sin(a)*Math.sin(a)*Math.cos(n)*Math.cos(o);return 2*r*Math.atan2(Math.sqrt(h),Math.sqrt(1-h))}function Ht(t,e){for(var i=0,r=0,n=t.length;r<n-1;++r)i+=Kt(t[r],t[r+1],e);return i}function Zt(t,e){for(var i=0,r=t.length,n=t[r-1][0],o=t[r-1][1],s=0;s<r;s++){var a=t[s][0],h=t[s][1];i+=Vt(a-n)*(2+Math.sin(Vt(o))+Math.sin(Vt(h))),n=a,o=h}return i*e*e/2}function qt [...]
\ No newline at end of file
diff --git a/themes/common-theme/webapp/common/js/plugins/ol.js.map b/themes/common-theme/webapp/common/js/plugins/ol.js.map
deleted file mode 100644
index f6cef1e..0000000
--- a/themes/common-theme/webapp/common/js/plugins/ol.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["webpack://ol/webpack/universalModuleDefinition","webpack://ol/webpack/bootstrap","webpack://ol/./node_modules/rbush/index.js","webpack://ol/./node_modules/pbf/index.js","webpack://ol/./node_modules/pixelworks/lib/index.js","webpack://ol/./node_modules/quickselect/quickselect.js","webpack://ol/./node_modules/ieee754/index.js","webpack://ol/./node_modules/pixelworks/lib/processor.js","webpack://ol/./node_modules/pixelworks/lib/util.js","webpack://ol/./build/ol/util [...]
\ No newline at end of file