Show HN: Simple JavaScript Weather Plugin with JQuery Dependencies Removed
a12k.io
a12k.io
reallySimpleWeather.weather({location: 'Bend, OR', woeid: '', unit: 'f', success: function(w) { console.log(document.getElementById('weather').innerHTML = JSON.stringify(w, undefined, 4))} }); document.getElementById('weather').style.whiteSpace='pre';
To test this, I went through all the examples on the original project with jQuery and dropped in the new file and changed the original call and all the demos work great with those two minor changes.
Work in progress:
https://github.com/a12k/reallySimpleWeather/tree/wundergroun...