From de310a154f4eb9c17cab137e78670c3da80fa7b9 Mon Sep 17 00:00:00 2001 From: Gerome Matilla Date: Thu, 18 Jun 2020 13:59:23 +0800 Subject: [PATCH] rename background-set class --- js/background-set.js | 2 +- js/script.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/background-set.js b/js/background-set.js index f62929d..9ca3506 100644 --- a/js/background-set.js +++ b/js/background-set.js @@ -1,4 +1,4 @@ -class DummyBodyBackground { +class BackgroundSet { constructor() { this._body = document.body; diff --git a/js/script.js b/js/script.js index 476c857..ea2b940 100644 --- a/js/script.js +++ b/js/script.js @@ -2,7 +2,7 @@ const config = new Config(); // Instantiate dummy background setter -const dummyBodyBackground = new DummyBodyBackground(); +const backgroundSet = new BackgroundSet(); // Instantiate a clock object const clock = new Clock();