treesummaryrefslogcommitdiff
path: root/html/script.js
diff options
context:
space:
mode:
authorPatrick Schönberger2018-12-10 20:08:47 +0100
committerPatrick Schönberger2018-12-10 20:08:47 +0100
commit8ed339b1fd7fca6209d1784bd18faf8608ab67a6 (patch)
tree27189184d6691bb164b82f52e964d7762f182f2b /html/script.js
parentd321fbf9c21bbc256215f88edc98296701c6b328 (diff)
downloadlolstats-8ed339b1fd7fca6209d1784bd18faf8608ab67a6.tar.gz
lolstats-8ed339b1fd7fca6209d1784bd18faf8608ab67a6.zip
changes
Diffstat (limited to 'html/script.js')
-rw-r--r--html/script.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/html/script.js b/html/script.js
index d97fcc4..51c43c0 100644
--- a/html/script.js
+++ b/html/script.js
@@ -4,7 +4,12 @@ function getRegions() {
return [ "euw", "na", "kr", "br" ];
}
function getChampions() {
- return [ {name: "Aatrox"}, {name: "Annie"}, {name: "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() {