Hi, I test dialog-polyfill and find that minified version gives error. Don't know why is the reason, and this surprise me since this should be very used by lots of people.
My test was simple just a index.html with the minified css and js scripts. when loads it reports an Unexpected Tokex '.' as I report before. So I changed my test and downloaded the latest zip from GitHub: https://github.com/GoogleChrome and test this and works. So: Since the CDNJS hosted version gives error, I think the most secure way is to insert this script and css in MaterialDesignLite.SWC and use inject_html with the local archive If that is ok, next thing to take into account is LICENSE file. Could we use in this way? https://github.com/GoogleChrome/dialog-polyfill/blob/master/LICENSE Thanks -- Carlos Rovira http://about.me/carlosrovira