Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-web
Commits
df2bb6d1
Commit
df2bb6d1
authored
Feb 13, 2017
by
mdsecurity
Browse files
deleting test functions i added
parent
4c76825f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/app/context-bar/context-bar.component.ts
View file @
df2bb6d1
...
...
@@ -18,13 +18,7 @@ export class ContextBarComponent implements OnInit {
data
=>
{
this
.
data
=
data
},
error
=>
{
this
.
error
=
error
}
)
}
tempf
=
function
(){
for
(
let
i
=
0
;
i
<
this
.
data
.
length
;
i
++
){
if
(
this
.
data
[
i
].
isOpen
()){
console
.
log
(
this
.
data
[
i
].
name
+
'
OPEN:
'
+
this
.
data
[
i
].
openFor
())
}
}
}
}
}
src/app/place.ts
View file @
df2bb6d1
...
...
@@ -68,11 +68,11 @@ export class Place {
}
else
{
sumSeconds
=
day
.
end_time
.
inSeconds
()
-
inSeconds
;
}
timeTilClose
.
fromSeconds
(
sumSeconds
)
return
timeTilClose
.
toString
(
);
return
timeTilClose
.
fromSeconds
(
sumSeconds
);
}
}
else
{
return
'
c
losed
'
;
return
'
C
losed
'
;
}
}
}
...
...
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