[
https://issues.apache.org/jira/browse/OFBIZ-11882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160690#comment-17160690 ]
Jacques Le Roux edited comment on OFBIZ-11882 at 7/19/20, 1:59 PM:
-------------------------------------------------------------------
I checked minified files with sourceMappingURL: are
bootstrap-4.3.1.min.js
7: //# sourceMappingURL=bootstrap.min.js.map
bootstrap.bundle-4.3.1.min.js
7: //# sourceMappingURL=bootstrap.bundle.min.js.map
jquery.jgrowl-1.4.6.min.js
2: //# sourceMappingURL=jquery.jgrowl.map
jquery.form.min.js
23: //# sourceMappingURL=jquery.form.min.js.map
imagemanagement
sizzle.min.js
3: //# sourceMappingURL=dist/sizzle.min.map
less.min.js
14: ... rn a?"/*# sourceMappingURL="+a+" */":""},c.prototype.getExternalSourceMap=function()\{return this.sourceMap},c.prototype.setExternalSourceMap=function(a ...
bootstrap-4.3.1.min.css
7: /*# sourceMappingURL=bootstrap.min.css.map */
bootstrap-grid.min.css
7: /*# sourceMappingURL=bootstrap-grid.min.css.map */
bootstrap-reboot.min.css
8: /*# sourceMappingURL=bootstrap-reboot.min.css.map */
So only bootstrap CSS minified files have sourceMappingURL, normal? And BTW the sourceMappingURL are wrong has [^ecommerce-js2.patch] shows
was (Author: jacques.le.roux):
I checked minified files with sourceMappingURL: are
bootstrap-4.3.1.min.js
7: //# sourceMappingURL=bootstrap.min.js.map
bootstrap.bundle-4.3.1.min.js
7: //# sourceMappingURL=bootstrap.bundle.min.js.map
jquery.jgrowl-1.4.6.min.js
2: //# sourceMappingURL=jquery.jgrowl.map
jquery.form.min.js
23: //# sourceMappingURL=jquery.form.min.js.map
imagemanagement
sizzle.min.js
3: //# sourceMappingURL=dist/sizzle.min.map
less.min.js
14: ... rn a?"/*# sourceMappingURL="+a+" */":""},c.prototype.getExternalSourceMap=function()\{return this.sourceMap},c.prototype.setExternalSourceMap=function(a ...
bootstrap-4.3.1.min.css
7: /*# sourceMappingURL=bootstrap.min.css.map */
bootstrap-grid.min.css
7: /*# sourceMappingURL=bootstrap-grid.min.css.map */
bootstrap-reboot.min.css
8: /*# sourceMappingURL=bootstrap-reboot.min.css.map */
So only bootstrap CSS minified files have sourceMappingURL, normal?
> rename a few map files
> ----------------------
>
> Key: OFBIZ-11882
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11882> Project: OFBiz
> Issue Type: Improvement
> Components: ecommerce
> Affects Versions: Release Branch 17.12, Trunk
> Reporter: Alex Bodnaru
> Assignee: Jacques Le Roux
> Priority: Trivial
> Attachments: ecommerce-js.patch, ecommerce-js2.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> tells a few files to be renamed, to suppress warnings in the browser console.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)