Sha256: 83fa3a3c66320b98433d2f63a754450a4b8f822998b553d7867e37559788c856

Contents?: true

Size: 1021 Bytes

Versions: 11

Compression:

Stored size: 1021 Bytes

Contents

// ==========================================================================
// Project:   SproutCore Test Runner
// Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
//            Portions ©2008-2010 Apple Inc. All rights reserved.
// License:   Licensed under MIT license (see license.js)
// ==========================================================================
/*globals Welcome */

/** @namespace
  
  The Welcome app is displayed when you load the root URL and the dev server
  is visible.  It will fetch the list of targets from the server and list 
  them.
  
  @extends SC.Object
*/
Welcome = SC.Object.create(
  /** @scope Welcome.prototype */ {

  NAMESPACE: 'Welcome',
  VERSION: '1.0.0',
  
  store: SC.Store.create().from('CoreTools.DataSource'),
  
  displayTitle: function() {
    var hostname = (window.location.hostname || 'localhost').toString();
    return hostname.match(/sproutcore\.com/) ? "SproutCore Demos".loc() : "SproutCore Developer Tools";
  }.property().cacheable()

}) ;

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sproutcore-1.4.4-java lib/frameworks/sproutcore/apps/welcome/core.js
sproutcore-1.4.4 lib/frameworks/sproutcore/apps/welcome/core.js
sproutcore-1.4.3.1 lib/frameworks/sproutcore/apps/welcome/core.js
sproutcore-1.4.3-java lib/frameworks/sproutcore/apps/welcome/core.js
sproutcore-1.4.3 lib/frameworks/sproutcore/apps/welcome/core.js
sproutcore-1.4.2-java lib/frameworks/sproutcore/apps/welcome/core.js
sproutcore-1.4.2 lib/frameworks/sproutcore/apps/welcome/core.js
sproutcore-1.4.1-java lib/frameworks/sproutcore/apps/welcome/core.js
sproutcore-1.4.1 lib/frameworks/sproutcore/apps/welcome/core.js
sproutcore-1.4.0-java lib/frameworks/sproutcore/apps/welcome/core.js
sproutcore-1.4.0 lib/frameworks/sproutcore/apps/welcome/core.js