Sha256: a3dbbbe038cce980ae5da100457e636e9862f41b945b45f184649bd1d00886a6

Contents?: true

Size: 806 Bytes

Versions: 11

Compression:

Stored size: 806 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.NO_TARGETS = SC.Responder.create({
  
  /**
    Show laoding targets view.
  */
  didBecomeFirstResponder: function() {
    TestRunner.set('currentScene', 'noTargets');
    TestRunner.updateRoute(null, 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/no_targets.js
sproutcore-1.4.4 lib/frameworks/sproutcore/apps/tests/states/no_targets.js
sproutcore-1.4.3.1 lib/frameworks/sproutcore/apps/tests/states/no_targets.js
sproutcore-1.4.3-java lib/frameworks/sproutcore/apps/tests/states/no_targets.js
sproutcore-1.4.3 lib/frameworks/sproutcore/apps/tests/states/no_targets.js
sproutcore-1.4.2-java lib/frameworks/sproutcore/apps/tests/states/no_targets.js
sproutcore-1.4.2 lib/frameworks/sproutcore/apps/tests/states/no_targets.js
sproutcore-1.4.1-java lib/frameworks/sproutcore/apps/tests/states/no_targets.js
sproutcore-1.4.1 lib/frameworks/sproutcore/apps/tests/states/no_targets.js
sproutcore-1.4.0-java lib/frameworks/sproutcore/apps/tests/states/no_targets.js
sproutcore-1.4.0 lib/frameworks/sproutcore/apps/tests/states/no_targets.js