Sha256: 3aee800bd7edada9b7efbcfab7cb67bfbbedfab77b5f4141ee027176bcf9c160

Contents?: true

Size: 993 Bytes

Versions: 7

Compression:

Stored size: 993 Bytes

Contents

// ==========================================================================
// Project:   SproutCore - JavaScript Application Framework
// Copyright: ©2006-2009 Sprout Systems, Inc. and contributors.
//            Portions ©2008-2009 Apple Inc. All rights reserved.
// License:   Licensed under MIT license (see license.js)
// ==========================================================================
/*globals TestRunner */

/**
  Displayed when the app has no targets.
*/
TestRunner.READY_NO_TESTS = SC.Responder.create({
  
  nextResponder: TestRunner.READY,
  
  /**
    Show laoding targets view.
  */
  didBecomeFirstResponder: function() {
    TestRunner.set('currentScene', 'noTests');

    // this is always the final route since we can't load any tests
    var target = TestRunner.sourceController.get('selection').firstObject();
    TestRunner.updateRoute(target, null, YES);
  },
  
  willLoseFirstResponder: function() {
    TestRunner.set('currentScene', null);
  }
    
});

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sproutcore-1.4.0.rc.5 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.0.rc.4 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.0.rc.3 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.0.rc.2 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.0.rc lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1049.pre.2 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1049.pre.1 frameworks/sproutcore/apps/tests/states/ready_no_tests.js