wrap the layout definitions in immediately executing anonymous functions
This commit is contained in:
parent
85b5670dfc
commit
3d0245abfa
7 changed files with 440 additions and 395 deletions
|
@ -12,6 +12,7 @@ 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
(function () {
|
||||
'use strict';
|
||||
var h = {
|
||||
"_es_ist": {1:[1,2,4,5,6]},
|
||||
|
@ -69,3 +70,4 @@ var layout = {
|
|||
}
|
||||
};
|
||||
$.fritteli.uhr.register('de', layout);
|
||||
}());
|
|
@ -12,6 +12,7 @@ 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
(function () {
|
||||
'use strict';
|
||||
// hilfsvariablen
|
||||
var h = {
|
||||
|
@ -95,3 +96,4 @@ var layout = {
|
|||
};
|
||||
// Das Layout bei der Uhr unter dem Code "de_CH" registrieren.
|
||||
$.fritteli.uhr.register('de_CH', layout);
|
||||
}());
|
|
@ -12,6 +12,7 @@ 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
(function () {
|
||||
'use strict';
|
||||
var h = {
|
||||
"_es_isch": {1: [1, 2, 4, 5, 6, 7]},
|
||||
|
@ -70,3 +71,4 @@ var layout = {
|
|||
}
|
||||
};
|
||||
$.fritteli.uhr.register('de_CH_genau', layout);
|
||||
}());
|
|
@ -12,6 +12,7 @@ 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
(function () {
|
||||
'use strict';
|
||||
var h = {
|
||||
"_it_is": {1: [1, 2, 4, 5]},
|
||||
|
@ -78,3 +79,4 @@ var layout = {
|
|||
}
|
||||
};
|
||||
$.fritteli.uhr.register('en', layout);
|
||||
}());
|
57
js/uhr-fr.js
57
js/uhr-fr.js
|
@ -13,6 +13,7 @@ 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
(function () {
|
||||
'use strict';
|
||||
var h = {
|
||||
"_il_est": {1: [1, 2, 4, 5, 6]},
|
||||
|
@ -58,17 +59,50 @@ var layout = {
|
|||
},
|
||||
"hours": {
|
||||
"0": {5: [6, 7, 8, 9, 10, 11]},
|
||||
"1,13": [{3:[5,6,7]}, h._heures],
|
||||
"2,14": [{1:[8,9,10,11]}, h._heures],
|
||||
"3,15": [{2:[7,8,9,10,11]}, h._heures],
|
||||
"4,16": [{2:[1,2,3,4,5,6]}, h._heures],
|
||||
"5,17": [{4:[8,9,10,11]}, h._heures],
|
||||
"6,18": [{4:[5,6,7]}, h._heures],
|
||||
"7,19": [{3:[8,9,10,11]}, h._heures],
|
||||
"8,20": [{4:[1,2,3,4]}, h._heures],
|
||||
"9,21": [{3:[1,2,3,4]}, h._heures],
|
||||
"10,22": [{5:[3,4,5]}, h._heures],
|
||||
"11,23": [{6:[1,2,3,4]}, h._heures],
|
||||
"1,13": [
|
||||
{3: [5, 6, 7]},
|
||||
h._heures
|
||||
],
|
||||
"2,14": [
|
||||
{1: [8, 9, 10, 11]},
|
||||
h._heures
|
||||
],
|
||||
"3,15": [
|
||||
{2: [7, 8, 9, 10, 11]},
|
||||
h._heures
|
||||
],
|
||||
"4,16": [
|
||||
{2: [1, 2, 3, 4, 5, 6]},
|
||||
h._heures
|
||||
],
|
||||
"5,17": [
|
||||
{4: [8, 9, 10, 11]},
|
||||
h._heures
|
||||
],
|
||||
"6,18": [
|
||||
{4: [5, 6, 7]},
|
||||
h._heures
|
||||
],
|
||||
"7,19": [
|
||||
{3: [8, 9, 10, 11]},
|
||||
h._heures
|
||||
],
|
||||
"8,20": [
|
||||
{4: [1, 2, 3, 4]},
|
||||
h._heures
|
||||
],
|
||||
"9,21": [
|
||||
{3: [1, 2, 3, 4]},
|
||||
h._heures
|
||||
],
|
||||
"10,22": [
|
||||
{5: [3, 4, 5]},
|
||||
h._heures
|
||||
],
|
||||
"11,23": [
|
||||
{6: [1, 2, 3, 4]},
|
||||
h._heures
|
||||
],
|
||||
"12": {5: [1, 2, 3, 4]}
|
||||
},
|
||||
"getHour": function (date) {
|
||||
|
@ -80,3 +114,4 @@ var layout = {
|
|||
}
|
||||
};
|
||||
$.fritteli.uhr.register('fr', layout);
|
||||
}());
|
|
@ -12,6 +12,7 @@ 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
(function () {
|
||||
'use strict';
|
||||
var h = {
|
||||
"_sono_le": {1: [1, 2, 3, 4, 6, 7]},
|
||||
|
@ -77,3 +78,4 @@ var layout = {
|
|||
}
|
||||
};
|
||||
$.fritteli.uhr.register('it', layout);
|
||||
}());
|
Loading…
Reference in a new issue