Sha256: e836d4639b7a5ad857af33f398164192d0349eb973299497ce95e7a436af5a55

Contents?: true

Size: 743 Bytes

Versions: 3

Compression:

Stored size: 743 Bytes

Contents

// ==========================================================================
// Project:   SproutCore - JavaScript Application Framework
// Copyright: ©2008-2011 Apple Inc. All rights reserved.
// License:   Licensed under MIT license (see license.js)
// ==========================================================================
/*globals Docs */

/** @class

  (Document Your Controller Here)

  @extends SC.TreeController
*/
Docs.classesController = SC.ArrayController.create(
/** @scope Docs.classesController.prototype */ {

  _selectionDidChange: function(){

    var content = this.getPath('selection.firstObject');

    if(content) {
      SC.routes.set('location',content.get('displayName'));
    }

  }.observes('selection')

}) ;

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sc-docs-0.0.3 lib/sc_docs/docs/apps/docs/controllers/classes.js
sc-docs-0.0.2 lib/sc_docs/docs/apps/docs/controllers/classes.js
sc-docs-0.0.1 lib/sc_docs/docs/apps/docs/controllers/classes.js