This import loads a web font, so it will fail if you're offline. However, the page should still display with a fallback font.
I think that font is used in the demos (and the tutorial), but not required by the controls themselves, so if you want to build something for offline use, just remove the import and substitute a different font in the CSS. Cheers, Arthur On Sat, Jun 28, 2014 at 10:51 AM, <[email protected]> wrote: > trying to run polymer code off-line on dev machine but getting error - > looking for google api - any ideas ? > > in our index.html : > > <link rel="import" > href="/lib/polymer-0.1/components/font-roboto/roboto.html"> > > server response: > GET /lib/polymer-0.1/components/font-roboto/roboto.html 304 18ms > > in javascript console: > ==> error > Failed to load resource: net::ERR_INTERNET_DISCONNECTED > http://fonts.googleapis.com/css?family=RobotoDraft:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en > > > > Follow Polymer on Google+: plus.google.com/107187849809354688692 > --- > You received this message because you are subscribed to the Google Groups > "Polymer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/polymer-dev/4c983a05-71f3-4e2d-a71c-f82e017c452d%40googlegroups.com > <https://groups.google.com/d/msgid/polymer-dev/4c983a05-71f3-4e2d-a71c-f82e017c452d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CADSbU_ykzpTeHv-HLvg%3D7puezT_Tg9tNUwWrxMj7KMpjdvDEYg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
