Last active
November 27, 2018 18:22
-
-
Save ihollander/c7a9499fdf078dd11c56b7afe128b2da to your computer and use it in GitHub Desktop.
Observer Pattern pt4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener('DOMContentLoaded', () => { | |
const body = document.querySelector('body') | |
const fluxModel = new FluxModel() | |
const fluxView = new FluxView({ body: body }) | |
const fluxController = new FluxController(fluxModel, fluxView) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment