googlearchive / polymer-tutorial

Deprecated Polymer 0.5 tutorial app
211 stars 125 forks source link

Problem with loading .svg files from the correct location. #40

Closed motss closed 8 years ago

motss commented 9 years ago

Hi, I found an issue in retrieving .svg file from the correct directory location (.svg files were not loaded properly). .svg files failed to load I'm working on building hybrid mobile apps using Cordova + Crosswalk. While trying the Polymer tutorial example, I came across a case where the .svg files were not able to load and show on the screen as from the debugging console it said that the app itself was getting the files from the wrong directory (See below). Issue Occurred I made some changes to the property "avatar" inside the posts.json (commented is the original directory). Modify posts.json After modifying the posts.json with new directory location to retrieve images, everything worked like charm on both the web browser and the real device. Worked like charm

However, the modern browser didn't suffer such issue at all in pointing to the wrong location to load those .svg files. How could this happen?