22 points · by a12k · 10y ago · 9 comments
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...