Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
opening-hours
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
regionalkauf
opening-hours
Commits
69a3e3d5
Commit
69a3e3d5
authored
Jul 10, 2014
by
Johannes Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
holiday model finished
parent
b47512ad
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
.gitignore
.gitignore
+2
-1
holidays.js
lib/holidays.js
+1
-1
No files found.
.gitignore
View file @
69a3e3d5
.idea/
.idea/
node_modules
node_modules
bower_components
bower_components
.DS_Store
\ No newline at end of file
lib/holidays.js
View file @
69a3e3d5
...
@@ -36,7 +36,7 @@ var holidayToSpecificMap = (function() {
...
@@ -36,7 +36,7 @@ var holidayToSpecificMap = (function() {
for
(
var
i
=
0
;
i
<
hArray
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
hArray
.
length
;
i
++
)
{
var
hd
=
hArray
[
i
];
var
hd
=
hArray
[
i
];
if
(
!
hMap
[
hd
])
if
(
!
hMap
[
hd
])
hMap
[
hd
]
=
{
region
:
[],
special
:
[]}
;
hMap
[
hd
]
=
[]
;
if
(
cKey
==
"default"
)
hMap
[
hd
].
region
.
push
(
rKey
);
if
(
cKey
==
"default"
)
hMap
[
hd
].
region
.
push
(
rKey
);
else
hMap
[
hd
].
special
.
push
(
cKey
);
else
hMap
[
hd
].
special
.
push
(
cKey
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment