• Robert Knight's avatar
    Clear pending timeouts when AppController is destroyed · 55d82623
    Robert Knight authored
    Fix a flaky AppController test and potential causes of flakyness or
    runtime errors in other tests due to timeouts set up in directives or
    controllers firing after the associated scope is destroyed.
    
    Add a helper which sets a timeout that is cleared automatically
    when an associated scope is destroyed.
    
    In the AppController test this manifested itself with a timeout
    being called when `$document[0]` was not set.
    55d82623
Name
Last commit
Last update
h Loading commit data...
scripts Loading commit data...
.hound.yml Loading commit data...
.jscsrc Loading commit data...
.jshintignore Loading commit data...
.jshintrc Loading commit data...
gulpfile.js Loading commit data...
package.json Loading commit data...