Wrong path when addressing resource from polymer-ui-weather

50 views
Skip to first unread message

roman....@gmail.com

unread,
May 3, 2014, 4:33:27 PM5/3/14
to polym...@googlegroups.com
Hi,
 I just found polymer and started to play with it. I'm  trying to add polymer-ui-weather to my test page and it seems to be broken.
My test project is under localhost/~rvasicek/polymer-test/ and index.html contain

<!DOCTYPE html>
<html>
  <head>
    <script src="bower_components/platform/platform.js"></script>
    <link rel="import"  
      href="bower_components/polymer-ui-weather/polymer-ui-weather.html">
  </head>
  <body>
    <polymer-ui-weather></polymer-ui-weather>
  </body>
</html>

Although in polymer-ui-weather.css in :host I can find
  background-image: url(images/glass.png);
the browser reports after loading different value for element background image
  background-image: url('bower_components/polymer-ui-weather/bower_components/polymer-ui-weather/images/glass.png');
The same situation is with the used images...

Am I doing something wrong or it is a bug? I'm using Google Chrome 35.0.1916.86 beta on Mac and Polymer version 0.2.3.

Regards,
 Roman

Rob Dodson

unread,
May 5, 2014, 2:09:11 AM5/5/14
to roman....@gmail.com, Steve Orvell, polymer-dev
I think it's a problem on our end. polymer-ui-weather is not actively maintained so it may have fallen into disrepair. Steve, do you know what's causing this?


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 polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/eb7b93bb-edbe-44b3-a584-89569753d5bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Steve Orvell

unread,
May 5, 2014, 12:45:24 PM5/5/14
to Rob Dodson, roman....@gmail.com, polymer-dev
This path issue is fixed on master (https://github.com/Polymer/platform-dev/commit/fe04db6dbea960813bb9910979772308bd477627), and the fix will be included in the next release.
Reply all
Reply to author
Forward
0 new messages