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
5fe3646a
Commit
5fe3646a
authored
Apr 23, 2013
by
Lee Willis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove $.isNumeric() for compat with jQuery < 1.7. Fixes #1026
parent
24f70fc6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
jquery.flot.pie.js
jquery.flot.pie.js
+3
-2
No files found.
jquery.flot.pie.js
View file @
5fe3646a
...
...
@@ -181,12 +181,13 @@ More detail and specific examples can be found in the included HTML file.
// that the user may have stored in higher indexes.
if
(
$
.
isArray
(
value
))
{
if
(
$
.
isNumeric
(
value
[
1
]))
{
// Equivalent to $.isNumeric() but compatible with jQuery < 1.7
if
(
!
isNaN
(
parseFloat
(
value
[
1
]))
&&
isFinite
(
value
[
1
]))
{
value
[
1
]
=
+
value
[
1
];
}
else
{
value
[
1
]
=
0
;
}
}
else
if
(
$
.
isNumeric
(
value
))
{
}
else
if
(
!
isNaN
(
parseFloat
(
value
))
&&
isFinite
(
value
))
{
value
=
[
1
,
+
value
];
}
else
{
value
=
[
1
,
0
];
...
...
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