Skip to content

Commit

Permalink
Merge pull request #19 from IanCStewart/develop
Browse files Browse the repository at this point in the history
🐛 http bug.
  • Loading branch information
IanCStewart committed Feb 17, 2017
2 parents cc83d01 + 561b201 commit ba1ffbc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions week2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ <h1>Weather api</h1>
<section id="current"></section>
<section id="hourly">
<div class="filter-station">
<label class="label"><input type="checkbox" name="Clear"><img src="http://icons.wxug.com/i/c/v4/clear.svg" alt="Clear"></label>
<label class="label"><input type="checkbox" name="Overcast"><img src="http://icons.wxug.com/i/c/v4/cloudy.svg" alt="Overcast"></label>
<label class="label"><input type="checkbox" name="Partly Cloudy"><img src="http://icons.wxug.com/i/c/v4/mostlysunny.svg" alt="Partly Cloudy"></label>
<label class="label"><input type="checkbox" name="Fog"><img src="http://icons.wxug.com/i/c/v4/hazy.svg" alt="Fog"></label>
<label class="label"><input type="checkbox" name="Chance of Rain"><img src="http://icons.wxug.com/i/c/v4/chancerain.svg" alt="Chance of Rain"></label>
<label class="label"><input type="checkbox" name="Rain"><img src="http://icons.wxug.com/i/c/v4/rain.svg" alt="Rain"></label>
<label class="label"><input type="checkbox" name="Snow"><img src="http://icons.wxug.com/i/c/v4/snow.svg" alt="Snow"></label>
<label class="label"><input type="checkbox" name="Tstorm"><img src="http://icons.wxug.com/i/c/v4/tstorms.svg" alt="Tstorm"></label>
<label class="label"><input type="checkbox" name="Clear"><img src="https://icons.wxug.com/i/c/v4/clear.svg" alt="Clear"></label>
<label class="label"><input type="checkbox" name="Overcast"><img src="https://icons.wxug.com/i/c/v4/cloudy.svg" alt="Overcast"></label>
<label class="label"><input type="checkbox" name="Partly Cloudy"><img src="https://icons.wxug.com/i/c/v4/mostlysunny.svg" alt="Partly Cloudy"></label>
<label class="label"><input type="checkbox" name="Fog"><img src="https://icons.wxug.com/i/c/v4/hazy.svg" alt="Fog"></label>
<label class="label"><input type="checkbox" name="Chance of Rain"><img src="https://icons.wxug.com/i/c/v4/chancerain.svg" alt="Chance of Rain"></label>
<label class="label"><input type="checkbox" name="Rain"><img src="https://icons.wxug.com/i/c/v4/rain.svg" alt="Rain"></label>
<label class="label"><input type="checkbox" name="Snow"><img src="https://icons.wxug.com/i/c/v4/snow.svg" alt="Snow"></label>
<label class="label"><input type="checkbox" name="Tstorm"><img src="https://icons.wxug.com/i/c/v4/tstorms.svg" alt="Tstorm"></label>
</div>
<section class="hourly-container"></section>
</section>
Expand Down
4 changes: 2 additions & 2 deletions week2/static/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
detail: document.querySelector('#hourly-detail'),
templateCurrent: Handlebars.compile(document.querySelector('#template-current').innerHTML),
templateHourly: Handlebars.compile(document.querySelector('#template-hourly').innerHTML),
urlHourly: 'http://api.wunderground.com/api/7f0aee996268ea76/hourly/q/autoip.json',
urlCurrent: 'http://api.wunderground.com/api/7f0aee996268ea76/conditions/q/autoip.json',
urlHourly: 'https://api.wunderground.com/api/7f0aee996268ea76/hourly/q/autoip.json',
urlCurrent: 'https://api.wunderground.com/api/7f0aee996268ea76/conditions/q/autoip.json',
html: ''
};

Expand Down

0 comments on commit ba1ffbc

Please sign in to comment.