From cc26ed47c893141237ff55dab46dd2fab3e4734e Mon Sep 17 00:00:00 2001 From: 2990louis <2990louis@vossiusgymnasium.nl> Date: Wed, 28 Feb 2018 12:18:42 +0100 Subject: [PATCH] Remove "weight" param from addPerson The weight parameter is never used. Because of the maximum of 3 composite keys, it wouldn't make sense to use it either. --- examples/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/index.html b/examples/index.html index 843eb08..64bc9c3 100644 --- a/examples/index.html +++ b/examples/index.html @@ -46,7 +46,7 @@ }); } - function addPerson(name, age, location, weight) { + function addPerson(name, age, location) { queryRef.push({ name: name, age: age, @@ -58,4 +58,4 @@ - \ No newline at end of file +