From: Robert Konigsberg Date: Thu, 27 Dec 2012 22:32:44 +0000 (-0500) Subject: formatting X-Git-Tag: v1.0.0~139^2~17 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=24cfd518a83f7ffa86dc68759641d606c60cead8;p=dygraphs.git formatting --- diff --git a/experimental/palette/palette.js b/experimental/palette/palette.js index d7c7cab..e69b086 100644 --- a/experimental/palette/palette.js +++ b/experimental/palette/palette.js @@ -100,9 +100,9 @@ Palette.prototype.create = function(document, parentElement) { if (inputValue == null || inputValue.length == 0) { inputValue = opts[opt].type + "{\n\n}"; } - var textarea = new TextArea(); - textarea.show(opt, inputValue); - textarea.okCallback = function(value) { + var textarea = new TextArea(); + textarea.show(opt, inputValue); + textarea.okCallback = function(value) { if (value != inputValue) { entry.functionString = value; entry.input.textContent = value ? "defined" : "not defined";