From: Robert Konigsberg Date: Sat, 29 Dec 2012 02:52:51 +0000 (-0500) Subject: Remove the "Copy" code, it's been replaced by "to hash". X-Git-Tag: v1.0.0~139^2~2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=7754081a7dc2bd2f399fe6f029b581451123bd83;p=dygraphs.git Remove the "Copy" code, it's been replaced by "to hash". --- diff --git a/experimental/palette/palette.js b/experimental/palette/palette.js index 9e4139f..65ef612 100644 --- a/experimental/palette/palette.js +++ b/experimental/palette/palette.js @@ -60,15 +60,6 @@ Palette.prototype.create = function(parentElement) { var header = Palette.createChild("div", table, "header"); header.style.visibility = "visible"; - // CURRENTLY HIDDEN. - var tmp = Palette.createChild("button", Palette.createChild("span", header)); - tmp.textContent = "Copy" - tmp.onclick = function() { - var textarea = new TextArea(); - textarea.show("header", "Now is the time for all good men\nto come to the aid of their country"); - }; - tmp.style.display = "none"; - // One row per option. for (var opt in opts) { try {