Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jstimer
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
jstimer
Merge requests
!26
Issue
#3511224
: add cspell project words and some spelling fixes
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3511224
: add cspell project words and some spelling fixes
issue/jstimer-3511224:3511224/cspell
into
2.0.x
Overview
0
Commits
1
Pipelines
2
Changes
3
Merged
aaron.ferris
requested to merge
issue/jstimer-3511224:3511224/cspell
into
2.0.x
1 month ago
Overview
0
Commits
1
Pipelines
2
Changes
3
Expand
0
0
Merge request reports
Compare
2.0.x
2.0.x (base)
and
latest version
latest version
19890575
1 commit,
1 month ago
3 files
+
16
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
js/jstimer.js
+
2
−
2
Options
@@ -50,7 +50,7 @@
// The timing loop.
Drupal
.
jstimer
.
timer_loop
=
function
()
{
// run backwards so we can remove items and not
messup
the loop data.
// run backwards so we can remove items and not
impact
the loop data.
for
(
var
i
=
Drupal
.
jstimer
.
timer_stack
.
length
-
1
;
i
>=
0
;
i
--
)
{
if
(
Drupal
.
jstimer
.
timer_stack
[
i
].
update
()
==
false
)
{
Drupal
.
jstimer
.
timer_stack
.
splice
(
i
,
1
);
@@ -86,7 +86,7 @@
//timezone handling
var
zone_offset
=
0
;
// in minutes
var
zone_plus_minus
=
date_bits
[
7
]
&&
date_bits
[
7
].
charAt
(
0
);
// get offset from isostring time to Z time
// get offset from iso
string time to Z time
if
(
zone_plus_minus
!=
'
Z
'
)
{
zone_offset
=
((
date_bits
[
8
]
||
0
)
*
60
)
+
(
Number
(
date_bits
[
9
])
||
0
);
if
(
zone_plus_minus
!=
'
-
'
)
{
Loading