Skip to content

Commit

Permalink
Adapted CamelCase style
Browse files Browse the repository at this point in the history
  • Loading branch information
rudibarani authored Dec 1, 2018
1 parent 68026ce commit aacba6e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions MMM-DarkSkyForecast.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Module.register("MMM-DarkSkyForecast", {
showCurrentConditions: true,
showExtraCurrentConditions: true,
showSummary: true,
forecasttableheadertext: '',
showforecasttablecolumnheadericons: true,
forecastTableHeaderText: '',
showForecastTableColumnHeaderIcons: true,
showHourlyForecast: true,
hourlyForecastInterval: 3,
maxHourliesToShow: 3,
Expand Down Expand Up @@ -310,20 +310,20 @@ Module.register("MMM-DarkSkyForecast", {
wrapper.appendChild(summaryWrapper);
}

//forecasttableheadertext
if (this.config.forecasttableheadertext != "") {
var forecastheader = document.createElement("div");
forecastheader.className = "module-header";
forecastheader.innerHTML = this.config.forecasttableheadertext;
wrapper.appendChild(forecastheader);
//forecastTableHeaderText
if (this.config.forecastTableHeaderText != "") {
var forecastHeader = document.createElement("div");
forecastHeader.className = "module-header";
forecastHeader.innerHTML = this.config.forecastTableHeaderText;
wrapper.appendChild(forecastHeader);
}

var forecastWrapper;
if (this.config.showHourlyForecast || this.config.showDailyForecast) {
forecastWrapper = document.createElement("div");
forecastWrapper.className = "forecast-container";

if (this.config.forecastLayout == "table" && this.config.showforecasttablecolumnheadericons) {
if (this.config.forecastLayout == "table" && this.config.showForecastTableColumnHeaderIcons) {
var headerRow = document.createElement("div");
headerRow.className = "header-row";

Expand Down

0 comments on commit aacba6e

Please sign in to comment.