Sha256: 7c65b9e4b1cf8eb2cc2a87fd11cae8f05a55dece8fab6954fe9fa2f7cfe57abd

Contents?: true

Size: 847 Bytes

Versions: 18

Compression:

Stored size: 847 Bytes

Contents

// ==========================================================================
// Project:   TestRunner.targetController
// Copyright: ©2010 Apple Inc.
// ==========================================================================
/*globals TestRunner */

/** @class

  The currently selected target.  Used by the testsController to get the 
  tests of the target.  May be used by other parts of the app to control the
  selected target.

  @extends SC.ObjectController
*/
TestRunner.targetController = SC.ObjectController.create(
/** @scope TestRunner.targetController.prototype */ {

  contentBinding: 'TestRunner.sourceController.selection',
  
  nameDidChange: function() {
    var name = this.get('name');
    if (name) name = name.slice(1);
    document.title = "_Window Title".loc(name || '_No Target'.loc());  
  }.observes('name')
  
}) ;

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
spade-0.0.1 sproutcore/apps/tests/controllers/target.js
sproutcore-1.5.0.pre.5 lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.5.0.pre.4.1 lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.5.0.pre.4 lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.5.0.pre.3 lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.4.5 lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.4.5-java lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.4.4-java lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.4.4 lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.4.3.1 lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.4.3-java lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.4.3 lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.4.2-java lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.4.2 lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.4.1-java lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.4.1 lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.4.0-java lib/frameworks/sproutcore/apps/tests/controllers/target.js
sproutcore-1.4.0 lib/frameworks/sproutcore/apps/tests/controllers/target.js