Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
F
flot
Project
Project
Details
Activity
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HS-public
flot
Commits
30946cb9
Commit
30946cb9
authored
Nov 01, 2012
by
David Schnur
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #851 from ncb000gt/master
Prevent insertSteps and fmt from becoming global.
parents
63266b36
414e7dec
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
jquery.flot.js
jquery.flot.js
+1
-1
jquery.flot.time.js
jquery.flot.time.js
+1
-0
No files found.
jquery.flot.js
View file @
30946cb9
...
@@ -561,7 +561,7 @@
...
@@ -561,7 +561,7 @@
ps
=
s
.
datapoints
.
pointsize
;
ps
=
s
.
datapoints
.
pointsize
;
points
=
s
.
datapoints
.
points
;
points
=
s
.
datapoints
.
points
;
insertSteps
=
s
.
lines
.
show
&&
s
.
lines
.
steps
;
var
insertSteps
=
s
.
lines
.
show
&&
s
.
lines
.
steps
;
s
.
xaxis
.
used
=
s
.
yaxis
.
used
=
true
;
s
.
xaxis
.
used
=
s
.
yaxis
.
used
=
true
;
for
(
j
=
k
=
0
;
j
<
data
.
length
;
++
j
,
k
+=
ps
)
{
for
(
j
=
k
=
0
;
j
<
data
.
length
;
++
j
,
k
+=
ps
)
{
...
...
jquery.flot.time.js
View file @
30946cb9
...
@@ -272,6 +272,7 @@ for details.
...
@@ -272,6 +272,7 @@ for details.
var
suffix
=
(
opts
.
twelveHourClock
)
?
" %p"
:
""
;
var
suffix
=
(
opts
.
twelveHourClock
)
?
" %p"
:
""
;
var
hourCode
=
(
opts
.
twelveHourClock
)
?
"%I"
:
"%H"
;
var
hourCode
=
(
opts
.
twelveHourClock
)
?
"%I"
:
"%H"
;
var
fmt
;
if
(
t
<
timeUnitSize
.
minute
)
if
(
t
<
timeUnitSize
.
minute
)
fmt
=
hourCode
+
":%M:%S"
+
suffix
;
fmt
=
hourCode
+
":%M:%S"
+
suffix
;
else
if
(
t
<
timeUnitSize
.
day
)
{
else
if
(
t
<
timeUnitSize
.
day
)
{
...
...
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