FWIW, I went to this page: https://getmdl.io/components/index.html#dialog-section
There were some examples in codepen. http://codepen.io/Garbee/full/EPoaMj/ http://codepen.io/Garbee/full/JGMowG/ They seem to load without console errors on my OSX Safari. -Alex On 1/18/17, 8:36 AM, "Alex Harui" <aha...@adobe.com> wrote: > > >On 1/18/17, 7:45 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" ><carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> wrote: > >>Hi, some thoughts here please? >>I'd like to end with Dialog since is the last Component in MDL and move >>to >>other things :) > >I guess I don't fully understand. Aren't lots of people using MDL Dialog? > How do they do it? Are they not using the CDN or is the error ignorable >or caught? > >I don't think inject_html knows how to include a separate .js file in the >output. Any scripts referenced have to have URLs somewhere else. That >could be changed, but doesn't work the way I think you want it to work >right now. > >>>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 > >Looks like BSD 3-clause to me, which is ok to use. > >https://opensource.org/licenses/BSD-3-Clause > >-Alex >