heartRenderer.render(mainElement);
heartRenderer.activate();
+ window.addEventListener('resize', heartRenderer.resize.bind(heartRenderer));
+
/**
* Exported global object. This will contain the instance of the heart
* renderer being used. It is set up on load.