Detecting Window Closing in Ember

0 · Jake Trent · March 17, 2014, midnight
Summary
In a long-running app such as you might build in Ember, it can be useful to detect when the window is closing. This is easily detected with JavaScript, and there are easy places to put the code in your Ember app. ...