Skip to content

Commit

Permalink
Use less global variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jethron committed Oct 10, 2018
1 parent 84d4be5 commit d611ad1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@
loadTalks: function (talk_data) {
// load talks into the vue model
this.talks = [];
for (i = 0; i < talk_data.length; i++) {
talk = talk_data[i];
for (var i = 0; i < talk_data.length; i++) {
var talk = talk_data[i];
this.talks.push({
sessiontime: talk.time,
title: talk.title,
Expand All @@ -260,8 +260,8 @@
}
},
loadSponsors: function (sponsor_data) {
for (i = 0; i < sponsor_data.length; i++) {
sponsor = sponsor_data[i];
for (var i = 0; i < sponsor_data.length; i++) {
var sponsor = sponsor_data[i];
this.sponsors.push({
name: sponsor.name,
level: sponsor.level,
Expand Down

0 comments on commit d611ad1

Please sign in to comment.