Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaflet-exercise-control
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
stw
leaflet-exercise-control
Commits
26167657
Commit
26167657
authored
Dec 06, 2017
by
Tomas Pettersson
🏸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix time array
parent
136dd04a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
dist/leaflet-exercise-control.js
dist/leaflet-exercise-control.js
+3
-3
src/leaflet-exercise-cards.js
src/leaflet-exercise-cards.js
+3
-3
src/leaflet-exercise-cards.js.map
src/leaflet-exercise-cards.js.map
+1
-1
src/leaflet-exercise-cards.ts
src/leaflet-exercise-cards.ts
+3
-3
No files found.
dist/leaflet-exercise-control.js
View file @
26167657
...
...
@@ -553,11 +553,11 @@ var EXTrajectory = (function (_super) {
EXTrajectory
.
prototype
.
changeFn
=
function
(
changeCard
)
{
var
self
=
this
;
if
((
typeof
changeCard
.
from
!==
'
undefined
'
)
&&
(
typeof
changeCard
.
to
!==
'
undefined
'
))
{
var
from
=
changeCard
.
from
;
var
to
=
changeCard
.
to
;
var
from
=
changeCard
.
from
.
clone
()
;
var
to
=
changeCard
.
to
.
clone
()
;
if
(
from
.
isBefore
(
to
))
{
self
.
time
=
[];
self
.
time
.
push
(
from
.
valueOf
());
//
self.time.push(from.valueOf());
var
t
=
from
;
while
(
t
.
isBefore
(
to
))
{
t
=
t
.
add
(
15
,
'
m
'
);
...
...
src/leaflet-exercise-cards.js
View file @
26167657
...
...
@@ -553,11 +553,11 @@ var EXTrajectory = (function (_super) {
EXTrajectory
.
prototype
.
changeFn
=
function
(
changeCard
)
{
var
self
=
this
;
if
((
typeof
changeCard
.
from
!==
'
undefined
'
)
&&
(
typeof
changeCard
.
to
!==
'
undefined
'
))
{
var
from
=
changeCard
.
from
;
var
to
=
changeCard
.
to
;
var
from
=
changeCard
.
from
.
clone
()
;
var
to
=
changeCard
.
to
.
clone
()
;
if
(
from
.
isBefore
(
to
))
{
self
.
time
=
[];
self
.
time
.
push
(
from
.
valueOf
());
//
self.time.push(from.valueOf());
var
t
=
from
;
while
(
t
.
isBefore
(
to
))
{
t
=
t
.
add
(
15
,
'
m
'
);
...
...
src/leaflet-exercise-cards.js.map
View file @
26167657
This diff is collapsed.
Click to expand it.
src/leaflet-exercise-cards.ts
View file @
26167657
...
...
@@ -627,11 +627,11 @@ class EXTrajectory extends STWkit.AccordionCard {
public
changeFn
(
changeCard
)
{
var
self
=
this
;
if
((
typeof
changeCard
.
from
!==
'
undefined
'
)
&&
(
typeof
changeCard
.
to
!==
'
undefined
'
))
{
var
from
=
changeCard
.
from
;
var
to
=
changeCard
.
to
;
var
from
=
changeCard
.
from
.
clone
()
;
var
to
=
changeCard
.
to
.
clone
()
;
if
(
from
.
isBefore
(
to
))
{
self
.
time
=
[];
self
.
time
.
push
(
from
.
valueOf
());
//
self.time.push(from.valueOf());
var
t
=
from
;
while
(
t
.
isBefore
(
to
))
{
t
=
t
.
add
(
15
,
'
m
'
);
...
...
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