treesummaryrefslogcommitdiff
path: root/html/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'html/script.js')
-rw-r--r--html/script.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/html/script.js b/html/script.js
index 8db21f9..92be426 100644
--- a/html/script.js
+++ b/html/script.js
@@ -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() {