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-polyfill.min.js "></script> * <script src=" https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.4.5/dialog-polyfill.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