X-Git-Url: https://gitweb.ps.run/lolstats/blobdiff_plain/d271c8fac628ab9afb14c84fda17e532aeb98424..8ed339b1fd7fca6209d1784bd18faf8608ab67a6:/html/script.js diff --git a/html/script.js b/html/script.js index a190690..51c43c0 100644 --- a/html/script.js +++ b/html/script.js @@ -4,7 +4,12 @@ function getRegions() { return [ "euw", "na", "kr", "br" ]; } function getChampions() { - return [ "Aatrox", "Annie", "Braum" ]; + return [ {name: "Aatrox"}, {name: "Annie"}, {name: "Braum"}, {name: "Not"} ]; +} +function getMatchProps() { + return [] +} +function getMatches() { } function getInfo() { app.summoner = $("#nameinput").val(); @@ -35,6 +40,8 @@ var app = new Vue({ view: "start", regions: getRegions(), champions: getChampions(), + matchprops: getMatchProps(), + matches: getMatches(), }, methods: { submit: function() {