Sha256: 6d2027770c0da15018807b8064e12dacb76515dabfe7b8f8f682092ad2cf20f9

Contents?: true

Size: 985 Bytes

Versions: 7

Compression:

Stored size: 985 Bytes

Contents

// ==========================================================================
// Project:   SproutCore - JavaScript Application Framework
// Copyright: ©2006-2011 Strobe 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

7 entries across 7 versions & 2 rubygems

Version Path
spade-0.0.1 sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.5.0.pre.5 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.5.0.pre.4.1 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.5.0.pre.4 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.5.0.pre.3 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.5 lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js
sproutcore-1.4.5-java lib/frameworks/sproutcore/apps/tests/states/ready_no_tests.js