projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document the value of `this`.
[dygraphs.git]
/
gallery
/
gallery-template.js
diff --git
a/gallery/gallery-template.js
b/gallery/gallery-template.js
index
efd9f18
..
f383748
100644
(file)
--- a/
gallery/gallery-template.js
+++ b/
gallery/gallery-template.js
@@
-1,4
+1,5
@@
// Use this as a template for new Gallery entries.
// Use this as a template for new Gallery entries.
+/*global Gallery,Dygraph,data */
Gallery.register(
'id',
{
Gallery.register(
'id',
{
@@
-8,7
+9,7
@@
Gallery.register(
parent.innerHTML = "<div id='blah'>";
},
run: function() {
parent.innerHTML = "<div id='blah'>";
},
run: function() {
-
g =
new Dygraph(document.getElementById("blah"),
+ new Dygraph(document.getElementById("blah"),
"X,Y\n10,12345\n11,12345\n", {});
}
});
"X,Y\n10,12345\n11,12345\n", {});
}
});