Sha256: b4e44b967ac8a4033117ee8573b41683442dc97ee1726f3103d6c1561908f2d5

Contents?: true

Size: 549 Bytes

Versions: 1

Compression:

Stored size: 549 Bytes

Contents

// ==========================================================================
// TestRunner.TestLabelView
// ==========================================================================

require('core');

TestRunner.TestLabelView = SC.ButtonView.extend({
  
  emptyElement: '<a href="javascript:;"><span></span></a>',

  contentObserver: function() {
    var c = this.get('content') ;
    this.set('labelText', (c) ? c.get('name') : '(NONE)') ;
  }.observes('content'),
  
  labelSelector: 'span',
  
  mouseDown: function() { return false; }
  
}) ;

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sproutcore-0.9.0 clients/sc_test_runner/views/test_label.js