projects
/
dygraphs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Document the value of `this`.
[dygraphs.git]
/
gallery
/
gallery-template.js
1
// Use this as a template for new Gallery entries.
2
/*global Gallery,Dygraph,data */
3
Gallery
.
register
(
4
'id'
,
5
{
6
name
:
'name'
,
7
title
:
'title'
,
8
setup
:
function
(
parent
) {
9
parent
.
innerHTML
=
"<div id='blah'>"
;
10
},
11
run
:
function
() {
12
new
Dygraph
(
document
.
getElementById
(
"blah"
),
13
"X,Y
\n
10,12345
\n
11,12345
\n
"
, {});
14
}
15
});