From 3b497435aec33c48a35211874101cbc3c9d5787a Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Sun, 7 Dec 2014 23:45:33 +0100 Subject: [PATCH] support long named parameters --- js/uhr.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/uhr.js b/js/uhr.js index 0eaf5a7..c053ad5 100644 --- a/js/uhr.js +++ b/js/uhr.js @@ -146,18 +146,22 @@ var value = pair[1]; switch (key) { case 'l': + case 'language': this.options.language = value; this.options.force = true; break; case 't': + case 'theme': this.options.theme = value; this.options.force = true; break; case 'm': + case 'mode': this.options.mode = value; this.options.force = true; break; case 's': + case 'status': this.options.status = value; this.options.force = true; break;