Sha256: b224ecc8096e09d85d6f36334197203fae8c35cfe46f280e156d2a0fabc53313
Contents?: true
Size: 847 Bytes
Versions: 30
Compression:
Stored size: 847 Bytes
Contents
// ========================================================================== // Project: TestRunner.targetController // Copyright: ©2011 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
30 entries across 30 versions & 1 rubygems