Git Product home page Git Product logo

Comments (6)

shusain avatar shusain commented on August 17, 2024

Hi Winsehr,

Just wanted to let you know I'm taking a look at adding this in it should be a pretty simple change but the component has been neglected so I'm needing to fix dependencies before I can test things and add this as an option.

Thanks

from angular-sh-weather.

shusain avatar shusain commented on August 17, 2024

Alright updated the code, if you bump from v0.0.0 to v0.0.1 you can now use units="metric" in the directive usage to show degrees celsius instead of fahrenheit.

Note since I had to fix up the build process the final locations for the minified file moved so beware you'll need to update your script tag accordingly.

from angular-sh-weather.

shusain avatar shusain commented on August 17, 2024

Had a problem here when I released the v0.0.1 tag so just skip that and go with v0.0.2

from angular-sh-weather.

 avatar commented on August 17, 2024

Hi, again!
Thank you so much for the update but now I get an error in console when I try to use the widget. It says "Error: [$compile:tplrt] Template for directive 'todaysWeather' must have exactly one root element. templates/currentWeatherDisplay.tpl.html". I've tried to go back to previous versions but I get the same error.

from angular-sh-weather.

shusain avatar shusain commented on August 17, 2024

Strange I didn't change too much to do with the template, will try to test this out in a clean project in the next few days to see what happened, might just be some bad commit was having some troubles with the order I updated the version numbers and added the tag.

Make sure you use v0.0.2 as well since I know for sure v0.0.1 was a broken build.

from angular-sh-weather.

 avatar commented on August 17, 2024

Hello!
It's OK, I can wait so you take your time :)
Yes, I used 0.0.2!

from angular-sh-weather.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.