Sha256: 2170a83715a10606c1222cad14d0a72f2d1bc5251a510a0879b37b46ce1de1b6

Contents?: true

Size: 994 Bytes

Versions: 11

Compression:

Stored size: 994 Bytes

Contents

// ==========================================================================
// Project:   SproutCore - JavaScript Application Framework
// Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
//            Portions ©2008-2010 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

11 entries across 11 versions & 1 rubygems

Version Path
sproutcore-1.4.4-java lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.4 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.3.1 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.3-java lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.3 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.2-java lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.2 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.1-java lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.1 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.0-java lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.0 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js