Sha256: c9e661c90d551cda464f82f391e31fb27c55426315bf8e40ab518dd7e176ba53

Contents?: true

Size: 1.09 KB

Versions: 11

Compression:

Stored size: 1.09 KB

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)
// ==========================================================================

sc_require('mixins/responder_context');

/** @class

  The root object for a SproutCore application.  Usually you will create a 
  single SC.Application instance as your root namespace.  SC.Application is
  required if you intend to use SC.Responder to route events.
  
  h2. Example
  
  {{{
    Contacts = SC.Application.create({
      store: SC.Store.create(SC.Record.fixtures),
      
      // add other useful properties here
    });
  }}}

  h2. Sending Events
  
  You can send actions and events down an application-level responder chain
  by 
  
  @extends SC.ResponderContext
  @since SproutCore 1.0
*/
SC.Application = SC.Responder.extend(SC.ResponderContext,
/** SC.Application.prototype */ {

});

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sproutcore-1.4.4-java lib/frameworks/sproutcore/frameworks/foundation/system/application.js
sproutcore-1.4.4 lib/frameworks/sproutcore/frameworks/foundation/system/application.js
sproutcore-1.4.3.1 lib/frameworks/sproutcore/frameworks/foundation/system/application.js
sproutcore-1.4.3-java lib/frameworks/sproutcore/frameworks/foundation/system/application.js
sproutcore-1.4.3 lib/frameworks/sproutcore/frameworks/foundation/system/application.js
sproutcore-1.4.2-java lib/frameworks/sproutcore/frameworks/foundation/system/application.js
sproutcore-1.4.2 lib/frameworks/sproutcore/frameworks/foundation/system/application.js
sproutcore-1.4.1-java lib/frameworks/sproutcore/frameworks/foundation/system/application.js
sproutcore-1.4.1 lib/frameworks/sproutcore/frameworks/foundation/system/application.js
sproutcore-1.4.0-java lib/frameworks/sproutcore/frameworks/foundation/system/application.js
sproutcore-1.4.0 lib/frameworks/sproutcore/frameworks/foundation/system/application.js