]> gitweb.ps.run Git - lolstats/blobdiff - html/script.js
changes
[lolstats] / html / script.js
index 8db21f945033e3b607c7c4a13e2464012ec4dc6b..92be4265c04c5984e51f1002301fb59dd83e2280 100644 (file)
@@ -3,7 +3,9 @@
 function getRegions() {
   return [ "euw", "na", "kr", "br" ];
 }
-
+function getChampions() {
+  return [ "Aatrox", "Annie", "Braum" ];
+}
 function getInfo() {
   app.summoner = $("#nameinput").val();
   app.region = $("#regionselect").val();
@@ -32,6 +34,7 @@ var app = new Vue({
     region: "",
     view: "start",
     regions: getRegions(),
+    champions: getChampions(),
   },
   methods: {
     submit: function() {