From 0e261c432e246651785eeda3e3ffa65a3ac78842 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Mon, 27 Feb 2012 11:23:08 -0500 Subject: [PATCH] whitespace cleanup --- dygraph.js | 14 +++++++------- tests/customLabelCss3.html | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/dygraph.js b/dygraph.js index e3470e7..14347f5 100644 --- a/dygraph.js +++ b/dygraph.js @@ -1002,13 +1002,13 @@ Dygraph.prototype.createStatusMessage_ = function() { var div = document.createElement("div"); div.className = "dygraph-legend"; for (var name in messagestyle) { - if (messagestyle.hasOwnProperty(name)) { - try { - div.style[name] = messagestyle[name]; - } catch (e) { - this.warn("You are using unsupported css properties for your browser in labelsDivStyles"); - } - } + if (messagestyle.hasOwnProperty(name)) { + try { + div.style[name] = messagestyle[name]; + } catch (e) { + this.warn("You are using unsupported css properties for your browser in labelsDivStyles"); + } + } } this.graphDiv.appendChild(div); this.attrs_.labelsDiv = div; diff --git a/tests/customLabelCss3.html b/tests/customLabelCss3.html index c90af5f..a5c7c3a 100644 --- a/tests/customLabelCss3.html +++ b/tests/customLabelCss3.html @@ -27,11 +27,11 @@ labelsDivWidth: 100, labelsDivStyles: { 'backgroundColor': 'rgba(200, 200, 255, 0.75)', - 'padding': '4px', - 'border': '1px solid black', - 'borderRadius': '10px', - 'boxShadow': '4px 4px 4px #888' - }, + 'padding': '4px', + 'border': '1px solid black', + 'borderRadius': '10px', + 'boxShadow': '4px 4px 4px #888' + }, labelsSeparateLines: true, yAxisLabelWidth: 20 } -- 2.7.4