Ok Alex,

just want to know if some FlexJS manipulation is done with external files.
For your response I assume that none, so if there's an error that should
come from the js and css source

Thanks!



2017-01-16 7:44 GMT+01:00 Alex Harui <aha...@adobe.com>:

> Create a test without any FlexJS.  Just native JS that loads those
> scripts.  Do you get the same error?  I think there is plenty of bad code
> out there that "just works".
>
> -Alex
>
> On 1/15/17, 12:02 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
> <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> wrote:
>
> >Hi,
> >
> >I'm in the task of making the last MDL component "Dialog"
> >As I said, it requires dialog-pollifil:
> >
> >https://github.com/GoogleChrome/dialog-polyfill
> >
> >So in the component constructor I'm using the urls here:
> >
> >https://cdnjs.com/libraries/dialog-polyfill
> >
> >In concrete:
> >
> >         /**
> >  *  constructor.
> >         *
> >         *  <inject_html>
> >         *  <script src="
> >https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.4.
> 5/dialog-polyfi
> >ll.min.js
> >"></script>
> >         *  <script src="
> >https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.4.
> 5/dialog-polyfi
> >ll.min.css
> >"></script>
> >         *  </inject_html>
> >*
> >*  @langversion 3.0
> >*  @playerversion Flash 10.2
> >*  @playerversion AIR 2.6
> >*  @productversion FlexJS 0.0
> >*/
> >public function Dialog()
> >{
> >...
> >
> >That's working ok. As I instantiate a mdl:Dialog, I can see the links
> >added
> >to index.html
> >
> >The problem is that I'm getting an error in the browser:
> >
> >Uncaught SyntaxError: Unexpected token .
> > dialog-polyfill.min.css:1
> >
> >I'm a little lost with this. Since I'm loading .js and .css latest 0.4.5 I
> >suppose it should work. So maybe there's some processing in the loaded js
> >and css that could introduce some error like this?
> >
> >I tried to load the non minified versions, but it reports errors as
> >well.....
> >
> >Hope someone could figure what could be happen
> >
> >Thanks!
> >
> >
> >--
> >Carlos Rovira
> >http://about.me/carlosrovira
>
>


-- 

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.

Reply via email to