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
a6ce78d1
Commit
a6ce78d1
authored
Feb 09, 2013
by
David Schnur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary debugging code.
Modern browser consoles obviate the need for an object logging function.
parent
e491dc7a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
29 deletions
+0
-29
jquery.flot.pie.js
jquery.flot.pie.js
+0
-29
No files found.
jquery.flot.pie.js
View file @
a6ce78d1
...
@@ -149,35 +149,6 @@ More detail and specific examples can be found in the included HTML file.
...
@@ -149,35 +149,6 @@ More detail and specific examples can be found in the included HTML file.
}
}
});
});
// debugging function that prints out an object
function
alertObject
(
obj
)
{
var
msg
=
""
;
function
traverse
(
obj
,
depth
)
{
if
(
!
depth
)
{
depth
=
0
;
}
for
(
var
i
=
0
;
i
<
obj
.
length
;
++
i
)
{
for
(
var
j
=
0
;
j
<
depth
;
j
++
)
{
msg
+=
"
\
t"
;
}
if
(
typeof
obj
[
i
]
==
"object"
)
{
msg
+=
""
+
i
+
":
\n
"
;
traverse
(
obj
[
i
],
depth
+
1
);
}
else
{
msg
+=
""
+
i
+
": "
+
obj
[
i
]
+
"
\n
"
;
}
}
}
traverse
(
obj
);
alert
(
msg
);
}
function
processDatapoints
(
plot
,
series
,
datapoints
)
{
function
processDatapoints
(
plot
,
series
,
datapoints
)
{
if
(
!
processed
)
{
if
(
!
processed
)
{
processed
=
true
;
processed
=
true
;
...
...
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