Sha256: 7c1b6f11bc72a6b9e3744ecc02a9776d695ff7c2fc4298c3662aea5ac1105ed0

Contents?: true

Size: 992 Bytes

Versions: 17

Compression:

Stored size: 992 Bytes

Contents

// ==========================================================================
// Project:   SproutCore - JavaScript Application Framework
// Copyright: ©2006-2009 Sprout Systems, Inc. and contributors.
//            Portions ©2008-2009 Apple Inc. All rights reserved.
// License:   Licened 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

17 entries across 17 versions & 2 rubygems

Version Path
sproutit-sproutcore-1.0.20090721145285 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1046 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1043 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1042 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1037 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1035 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1031 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1030 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1029 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1027 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1028 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1026 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1025 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1024 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1009 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1008 frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.0.1003 frameworks/sproutcore/apps/tests/states/ready_no_tests.js