aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js21
1 files changed, 17 insertions, 4 deletions
diff --git a/src/index.js b/src/index.js
index 67f800a..53ee56b 100644
--- a/src/index.js
+++ b/src/index.js
@@ -14,12 +14,25 @@
* limitations under the License.
*/
-/* JS */
-import './js/AFB.js';
-
/* CSS */
import './styles/app.scss';
document.addEventListener('DOMContentLoaded', function(){
+ SEATS.init();
TEMPERATURE.init();
-}); \ No newline at end of file
+ FANSPEED.init();
+ BUTTONS.init();
+
+ KUKSA.init([
+ [PATHS.leftSeatWarmer, SEATS],
+ [PATHS.rightSeatWarmer, SEATS],
+ [PATHS.leftSeatTemperature, TEMPERATURE],
+ [PATHS.rightSeatTemperature, TEMPERATURE],
+ [PATHS.leftFanSpeed, FANSPEED],
+ [PATHS.airConditioning, BUTTONS],
+ [PATHS.recirculation, BUTTONS],
+ [PATHS.frontDefroster, BUTTONS],
+ [PATHS.rearDefroster, BUTTONS],
+ [PATHS.leftAirDistribution, BUTTONS],
+ ]);
+});