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
d2642e80
Commit
d2642e80
authored
Jan 31, 2013
by
David Schnur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed missing/superfluous semicolons.
parent
c36b3446
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
jquery.flot.js
jquery.flot.js
+7
-7
No files found.
jquery.flot.js
View file @
d2642e80
...
@@ -121,7 +121,7 @@ Licensed under the MIT license.
...
@@ -121,7 +121,7 @@ Licensed under the MIT license.
// garbage collection and possibly increased cache-insert times.
// garbage collection and possibly increased cache-insert times.
this
.
_activeTextCache
=
{};
this
.
_activeTextCache
=
{};
}
;
}
// Resizes the canvas to the given dimensions.
// Resizes the canvas to the given dimensions.
//
//
...
@@ -169,7 +169,7 @@ Licensed under the MIT license.
...
@@ -169,7 +169,7 @@ Licensed under the MIT license.
// appear at the same size; the extra pixels will just make them crisper.
// appear at the same size; the extra pixels will just make them crisper.
context
.
scale
(
pixelRatio
,
pixelRatio
);
context
.
scale
(
pixelRatio
,
pixelRatio
);
}
}
;
// Clears the entire canvas area, including overlaid text.
// Clears the entire canvas area, including overlaid text.
...
@@ -178,7 +178,7 @@ Licensed under the MIT license.
...
@@ -178,7 +178,7 @@ Licensed under the MIT license.
if
(
this
.
text
)
{
if
(
this
.
text
)
{
this
.
text
.
empty
();
this
.
text
.
empty
();
}
}
}
}
;
// Finishes rendering the canvas, including populating the text overlay.
// Finishes rendering the canvas, including populating the text overlay.
...
@@ -207,7 +207,7 @@ Licensed under the MIT license.
...
@@ -207,7 +207,7 @@ Licensed under the MIT license.
this
.
_textCache
=
this
.
_activeTextCache
;
this
.
_textCache
=
this
.
_activeTextCache
;
this
.
_activeTextCache
=
{};
this
.
_activeTextCache
=
{};
}
}
;
// Creates (if necessary) and returns a text info object.
// Creates (if necessary) and returns a text info object.
//
//
...
@@ -297,7 +297,7 @@ Licensed under the MIT license.
...
@@ -297,7 +297,7 @@ Licensed under the MIT license.
this
.
_activeTextCache
[
cacheKey
]
=
info
;
this
.
_activeTextCache
[
cacheKey
]
=
info
;
return
info
;
return
info
;
}
}
;
// Draws a text string onto the canvas.
// Draws a text string onto the canvas.
//
//
...
@@ -340,7 +340,7 @@ Licensed under the MIT license.
...
@@ -340,7 +340,7 @@ Licensed under the MIT license.
// HTML to the canvas text buffer.
// HTML to the canvas text buffer.
this
.
_textBuffer
+=
info
.
prefix
+
parseInt
(
y
)
+
"px;left:"
+
parseInt
(
x
)
+
info
.
suffix
;
this
.
_textBuffer
+=
info
.
prefix
+
parseInt
(
y
)
+
"px;left:"
+
parseInt
(
x
)
+
info
.
suffix
;
}
}
;
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// The top-level container for the entire plot.
// The top-level container for the entire plot.
...
@@ -1514,7 +1514,7 @@ Licensed under the MIT license.
...
@@ -1514,7 +1514,7 @@ Licensed under the MIT license.
axis
.
tickDecimals
=
Math
.
max
(
0
,
maxDec
!=
null
?
maxDec
:
dec
);
axis
.
tickDecimals
=
Math
.
max
(
0
,
maxDec
!=
null
?
maxDec
:
dec
);
axis
.
tickSize
=
opts
.
tickSize
||
size
;
axis
.
tickSize
=
opts
.
tickSize
||
size
;
start
=
floorInBase
(
axis
.
min
,
axis
.
tickSize
)
start
=
floorInBase
(
axis
.
min
,
axis
.
tickSize
)
;
do
{
do
{
prev
=
v
;
prev
=
v
;
...
...
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