]> gitweb.ps.run Git - lolstats/blobdiff - html/script.js
changes
[lolstats] / html / script.js
index a19069073401247332a582256e70b7a3617e34fa..51c43c0281648d80e9fccdb50334bd2c33a93036 100644 (file)
@@ -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() {