diff --git a/js/uhr-de.js b/js/uhr-de.js
index 0975ff3..c75a487 100644
--- a/js/uhr-de.js
+++ b/js/uhr-de.js
@@ -12,60 +12,62 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-'use strict';
-var h = {
- "_es_ist": {1:[1,2,4,5,6]},
- "_nach": {4:[8,9,10,11]},
- "_vor": {4:[1,2,3]},
- "_halb": {5:[1,2,3,4]},
- "_5": {1:[8,9,10,11]},
- "_10": {2:[1,2,3,4]},
- "_15": {3:[5,6,7,8,9,10,11]},
- "_20": {2:[5,6,7,8,9,10,11]},
- "_45": {3:[1,2,3,4,5,6,7,8,9,10,11]}
-};
-var layout = {
- "version": 2,
- "language": 'Deutsch',
- "letters": [
- 'ESKISTAFÜNF',
- 'ZEHNZWANZIG',
- 'DREIVIERTEL',
- 'VORFUNKNACH',
- 'HALBAELFÜNF',
- 'EINSXAMZWEI',
- 'DREIPMJVIER',
- 'SECHSNLACHT',
- 'SIEBENZWÖLF',
- 'ZEHNEUNKUHR'
- ],
- "permanent": h._es_ist,
- "minutes": {
- "5,6,7,8,9": [h._5, h._nach],
- "10,11,12,13,14": [h._10, h._nach],
- "15,16,17,18,19": [h._15, h._nach],
- "20,21,22,23,24": [h._20, h._nach],
- "25,26,27,28,29": [h._5, h._vor, h._halb],
- "30,31,32,33,34": h._halb,
- "35,36,37,38,39": [h._5, h._nach, h._halb],
- "40,41,42,43,44": [h._20, h._vor],
- "45,46,47,48,49": h._45,
- "50,51,52,53,54": [h._10, h._vor],
- "55,56,57,58,59": [h._5, h._vor]
- },
- "hours": {
- "0,12": {9:[7,8,9,10,11]},
- "1,13": {6:[1,2,3,4]},
- "2,14": {6:[8,9,10,11]},
- "3,15": {7:[1,2,3,4]},
- "4,16": {7:[8,9,10,11]},
- "5,17": {5:[8,9,10,11]},
- "6,18": {8:[1,2,3,4,5]},
- "7,19": {9:[1,2,3,4,5,6]},
- "8,20": {8:[8,9,10,11]},
- "9,21": {10:[4,5,6,7]},
- "10,22": {10:[1,2,3,4]},
- "11,23": {5:[6,7,8]}
- }
-};
-$.fritteli.uhr.register('de', layout);
+(function () {
+ 'use strict';
+ var h = {
+ "_es_ist": {1:[1,2,4,5,6]},
+ "_nach": {4:[8,9,10,11]},
+ "_vor": {4:[1,2,3]},
+ "_halb": {5:[1,2,3,4]},
+ "_5": {1:[8,9,10,11]},
+ "_10": {2:[1,2,3,4]},
+ "_15": {3:[5,6,7,8,9,10,11]},
+ "_20": {2:[5,6,7,8,9,10,11]},
+ "_45": {3:[1,2,3,4,5,6,7,8,9,10,11]}
+ };
+ var layout = {
+ "version": 2,
+ "language": 'Deutsch',
+ "letters": [
+ 'ESKISTAFÜNF',
+ 'ZEHNZWANZIG',
+ 'DREIVIERTEL',
+ 'VORFUNKNACH',
+ 'HALBAELFÜNF',
+ 'EINSXAMZWEI',
+ 'DREIPMJVIER',
+ 'SECHSNLACHT',
+ 'SIEBENZWÖLF',
+ 'ZEHNEUNKUHR'
+ ],
+ "permanent": h._es_ist,
+ "minutes": {
+ "5,6,7,8,9": [h._5, h._nach],
+ "10,11,12,13,14": [h._10, h._nach],
+ "15,16,17,18,19": [h._15, h._nach],
+ "20,21,22,23,24": [h._20, h._nach],
+ "25,26,27,28,29": [h._5, h._vor, h._halb],
+ "30,31,32,33,34": h._halb,
+ "35,36,37,38,39": [h._5, h._nach, h._halb],
+ "40,41,42,43,44": [h._20, h._vor],
+ "45,46,47,48,49": h._45,
+ "50,51,52,53,54": [h._10, h._vor],
+ "55,56,57,58,59": [h._5, h._vor]
+ },
+ "hours": {
+ "0,12": {9:[7,8,9,10,11]},
+ "1,13": {6:[1,2,3,4]},
+ "2,14": {6:[8,9,10,11]},
+ "3,15": {7:[1,2,3,4]},
+ "4,16": {7:[8,9,10,11]},
+ "5,17": {5:[8,9,10,11]},
+ "6,18": {8:[1,2,3,4,5]},
+ "7,19": {9:[1,2,3,4,5,6]},
+ "8,20": {8:[8,9,10,11]},
+ "9,21": {10:[4,5,6,7]},
+ "10,22": {10:[1,2,3,4]},
+ "11,23": {5:[6,7,8]}
+ }
+ };
+ $.fritteli.uhr.register('de', layout);
+}());
\ No newline at end of file
diff --git a/js/uhr-de_CH.js b/js/uhr-de_CH.js
index 30a4245..2f80062 100644
--- a/js/uhr-de_CH.js
+++ b/js/uhr-de_CH.js
@@ -12,86 +12,88 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-'use strict';
+(function () {
+ 'use strict';
// hilfsvariablen
-var h = {
- "_es_isch": {1:[1,2,4,5,6,7]},
- "_ab": {4:[1,2]},
- "_vor": {3:[9,10,11]},
- "_haubi": {4:[4,5,6,7,8]},
- "_5": {1:[9,10,11]},
- "_10": {2:[9,10,11]},
- "_15": {2:[1,2,3,4,5,6]},
- "_20": {3:[1,2,3,4,5,6]}
-};
-var layout = {
- // version: zur Zeit immer 2 (Pflichtattribut)
- "version": 2,
- // Sprechender Name der Sprache
- "language": 'Bärndütsch',
- // Buchstabenfeld als Array von Strings.
- "letters": [
- 'ESKISCHAFÜF',
- 'VIERTUBFZÄÄ',
- 'ZWÄNZGSIVOR',
- 'ABOHAUBIEGE',
- 'EISZWÖISDRÜ',
- 'VIERIFÜFIQT',
- 'SÄCHSISIBNI',
- 'ACHTINÜNIEL',
- 'ZÄNIERBEUFI',
- 'ZWÖUFINAUHR'
- ],
- // Permanent aktive Buchstaben. , vgl. ausführliche Beschreibung bei "minutes".
- "permanent": h._es_isch,
- /*
- * Minuten: Objekt im folgenden Format:
- * {
- * : ,
- * ...
- * }
- * : String von Komma-separierten Minutenwerten, zu welchem die in angegebenen Buchstaben aktiv sein sollen
- * : [