Skip to content

Commit

Permalink
Patch fix for 1.2 merge issues [Finishes #137936109]
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaylorjr committed Jan 19, 2017
1 parent 9d51837 commit 3a32d1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ The app pulls data from the [Dark Sky API](http://darksky.net/dev) and provides:
### Current Version


The current release is [v1.2.0](https://github.com/davidtaylorjr/local-weather-webapp/releases/latest) and is on a steady development cycle.
The current release is [v1.2.1](https://github.com/davidtaylorjr/local-weather-webapp/releases/latest) and is on a steady development cycle.



### Future Feature Plans

Future featrues that are currently planned are:

- Alerts for Weather Watches and Warnings
- Precipitation Chance
- Extended 3-5 day forecast
- And More!

Expand Down
12 changes: 4 additions & 8 deletions scripts/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ function geoLocation() {


//Google Maps API to return printed location as opposed to lat/lon coordinates.
<<<<<<< HEAD

$.getJSON('https://maps.googleapis.com/maps/api/geocode/json?latlng=' + latitude + ',' + longitude + '&key=YOUR-API-KEY', function(city) {
=======
$.getJSON('https://maps.googleapis.com/maps/api/geocode/json?latlng=' + latitude + ',' + longitude + '&key=Your-API-Key', function(city) {
>>>>>>> staging


var address = city.results[2].formatted_address;

Expand All @@ -31,11 +29,9 @@ function geoLocation() {
//current conditions api from Darksky.net and variables for printing inside app.

$.ajax({
<<<<<<< HEAD

url: 'https://api.darksky.net/forecast/YOUR-API-KEY/' + latitude + ',' + longitude + "?units=us",
=======
url: 'https://api.darksky.net/forecast/Your-API-Key/' + latitude + ',' + longitude + "?units=us",
>>>>>>> staging

dataType: "jsonp",
success: function(data) {

Expand Down

0 comments on commit 3a32d1e

Please sign in to comment.