You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by sankar <sa...@gmail.com> on 2017/04/27 10:55:15 UTC

[FlexJS] MDL - Using .map files breaks style in OSX Safari

Hi,

We recently found some .js/.css.map file errors to OSX Safari console
running a MDL project, the errors were like this:

file:///Users/sk/projectA/bin/js-debug/pnelements/js/dialog-polyfill.min.js.map  
Failed to load resource: The requested URL was not found on this server.
file:///Users/sk/projectA/bin/js-debug/pnelements/js/material.min.js.map    
Failed to load resource: The requested URL was not found on this server.

Later, we found corresponding .js.map and .css.map files from these
locations:
https://getmdl.io/started/index.html#download (material.min.css/js.map)
https://cdnjs.com/libraries/dialog-polyfill (dialog-polyfill.min.css/js.map)

Soon we added those files to the project the errors were gone but using them
breaks FlexJS MDL Material icon usage.

<http://apache-flex-development.2333347.n4.nabble.com/file/n61382/Screenshot2.png> 

In above image you can see the icon for Drawer section turned to unreadable
font, as well as the "navigate_next" icon usage also became text only.

Thanks!



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Using-map-files-breaks-style-in-OSX-Safari-tp61382.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Using .map files breaks style in OSX Safari

Posted by Carlos Rovira <ca...@codeoscopic.com>.
Hi Sankar,
I saw the problem in Safari. Please let me know what fix you propose, in
order to understand it.
Thanks

2017-05-08 10:19 GMT+02:00 sankar <sa...@gmail.com>:

> Hi Carlos,
>
> Any update on this?
>
> It seems even I do not use the .map files, using last SDK update as on
> 04/25/2017 anyway breaks the Material icon usage in OSX Safari.
>
> Thanks!
>
>
>
> --
> View this message in context: http://apache-flex-development
> .2333347.n4.nabble.com/FlexJS-MDL-Using-map-files-breaks-
> style-in-OSX-Safari-tp61382p61514.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>



-- 

<http://www.codeoscopic.com>

Carlos Rovira

Director General

M: +34 607 22 60 05 <607%2022%2060%2005>

http://www.codeoscopic.com

http://www.avant2.es


Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.

Re: [FlexJS] MDL - Using .map files breaks style in OSX Safari

Posted by sankar <sa...@gmail.com>.
Hi Carlos,

Any update on this?

It seems even I do not use the .map files, using last SDK update as on
04/25/2017 anyway breaks the Material icon usage in OSX Safari. 

Thanks!



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Using-map-files-breaks-style-in-OSX-Safari-tp61382p61514.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Using .map files breaks style in OSX Safari

Posted by Carlos Rovira <ca...@codeoscopic.com>.
It seems CDN is failing, don't know if is something temporal or not, but
that's the risk to rely on CDN resources
We should check if the problem persists over time or we could change the
url in the Dialog class to other CDN more reliable

2017-04-27 12:55 GMT+02:00 sankar <sa...@gmail.com>:

> Hi,
>
> We recently found some .js/.css.map file errors to OSX Safari console
> running a MDL project, the errors were like this:
>
> file:///Users/sk/projectA/bin/js-debug/pnelements/js/dialog-
> polyfill.min.js.map
> Failed to load resource: The requested URL was not found on this server.
> file:///Users/sk/projectA/bin/js-debug/pnelements/js/material.min.js.map
> Failed to load resource: The requested URL was not found on this server.
>
> Later, we found corresponding .js.map and .css.map files from these
> locations:
> https://getmdl.io/started/index.html#download (material.min.css/js.map)
> https://cdnjs.com/libraries/dialog-polyfill (dialog-polyfill.min.css/js.
> map)
>
> Soon we added those files to the project the errors were gone but using
> them
> breaks FlexJS MDL Material icon usage.
>
> <http://apache-flex-development.2333347.n4.nabble.
> com/file/n61382/Screenshot2.png>
>
> In above image you can see the icon for Drawer section turned to unreadable
> font, as well as the "navigate_next" icon usage also became text only.
>
> Thanks!
>
>
>
> --
> View this message in context: http://apache-flex-
> development.2333347.n4.nabble.com/FlexJS-MDL-Using-map-
> files-breaks-style-in-OSX-Safari-tp61382.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>



-- 

<http://www.codeoscopic.com>

Carlos Rovira

Director General

M: +34 607 22 60 05

http://www.codeoscopic.com

http://www.avant2.es


Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.