{"size": 795, "ext": "js", "max_stars_repo_path": "tests/clone_detector_tests/sproutcore/apps/tests/states/no_targets.js", "max_stars_repo_name": "mir597/ml_safe", "max_stars_repo_stars_event_min_datetime": "2018-10-07T21:28:29.000Z", "max_stars_repo_stars_event_max_datetime": "2020-11-11T12:09:30.000Z", "max_issues_repo_path": "tests/clone_detector_tests/sproutcore/apps/tests/states/no_targets.js", "max_issues_repo_name": "mir597/ml_safe", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "tests/clone_detector_tests/sproutcore/apps/tests/states/no_targets.js", "max_forks_repo_name": "mir597/ml_safe", "max_forks_repo_forks_event_min_datetime": "2020-10-21T10:50:23.000Z", "max_forks_repo_forks_event_max_datetime": "2021-12-27T21:34:50.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 3, "avg_line_length": 29.4444444444, "max_line_length": 77, "alphanum_fraction": 0.5459119497}
// ==========================================================================
// Project:   SproutCore - JavaScript Application Framework
// Copyright: ©2006-2011 Strobe Inc. and contributors.
//            Portions ©2008-2011 Apple Inc. All rights reserved.
// License:   Licensed under MIT license (see license.js)
// ==========================================================================
/*globals TestRunner */

/**
  Displayed when the app has no targets.
*/
TestRunner.NO_TARGETS = SC.Responder.create({
  
  /**
    Show loading targets view.
  */
  didBecomeFirstResponder: function() {
    TestRunner.set('currentScene', 'noTargets');
    TestRunner.updateRoute(null, null, YES);
  },
  
  willLoseFirstResponder: function() {
    TestRunner.set('currentScene', null);
  }
    
});
