Skip to content

Commit 977380b

Browse files
committed
fix jsFiddle from gallery
1 parent 0f7b921 commit 977380b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
- Document annotations xval for Date better (#970)
3030
- Document more strongly that series labels must be unique (#960)
3131
- Remove references to nōn-existing `yAxisLabelWidth` option
32+
- Fix jsFiddle links from gallery
3233

3334
## Internal refactors/fixes
3435
- Shrink `tests.js` source map and make its build reproducible on Debian

gallery/gallery.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ Gallery.start = function() {
9090

9191
jsfs.html("<input type='submit' value='Edit in jsFiddle' />\n" +
9292
"<span style='display:none'>\n" +
93-
"<textarea name='resources'>http://dygraphs.com/dygraph.js</textarea>\n" +
93+
"<textarea name='resources'>https://dygraphs.com/dist/dygraph.css," +
94+
"https://dygraphs.com/gallery/data.js," +
95+
"https://dygraphs.com/dist/dygraph.js</textarea>\n" +
9496
"<input type='text' name='dtd' value='html 5' /></span>\n");
9597

9698
var javascript = demo.run.toString();

0 commit comments

Comments
 (0)