Skip to content
This repository has been archived by the owner on Jan 23, 2019. It is now read-only.
This repository has been archived by the owner on Jan 23, 2019. It is now read-only.

simpleWeather is currently not working. #174

Closed
@DukeBaird

Description

Possible duplicate of open issue, but simpleweather sometimes errors and calls no callbacks.

jquery.simpleWeather.min.js:2 Uncaught TypeError: Cannot read property 'channel' of null

However, its not triggering the error function on the original query

$.simpleWeather({
                    location: 'Waterloo',
                    woeid: '',
                    unit: 'c',
                    success: function(weather) {
                        $("#curTemp").html("Outdoor Weather: " + weather.temp + "°C, " + weather.currently);
                    },
                    error: function(error) {
                        $('#curTemp').html("Could not get Weather data");
                    }

Is there a way to make it call the error callback if this occurs?

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions