Sha256: fca5365e27fe052d319bedb314b8d20bd6ef3f8fe1aa5d4377ef238e89785711

Contents?: true

Size: 575 Bytes

Versions: 9

Compression:

Stored size: 575 Bytes

Contents

/**
  If true, then all SC.Controls can be focused when the
  user presses the tab key. Otherwise, only TextFieldViews
  will be focused.

  @type String
  @constant
*/
SC.FOCUS_ALL_CONTROLS = YES;

/*
  TODO [CC @ 1.5] Remove this deprecation warning eventually
*/
SC.ready(function() {
  var focus = SC.SAFARI_FOCUS_BEHAVIOR;
  if (focus !== null && focus !== undefined) {
    //@ if (debug)
    SC.Logger.warn("SC.SAFARI_FOCUS_BEHAVIOR is deprecated. Please use SC.FOCUS_ALL_CONTROLS instead");
    //@ endif
    SC.FOCUS_ALL_CONTROLS = SC.SAFARI_FOCUS_BEHAVIOR;
  }
});

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sproutcore-1.6.0.beta.3-x86-mingw32 lib/frameworks/sproutcore/frameworks/foundation/core.js
sproutcore-1.6.0.beta.3-java lib/frameworks/sproutcore/frameworks/foundation/core.js
sproutcore-1.6.0.beta.3 lib/frameworks/sproutcore/frameworks/foundation/core.js
sproutcore-1.6.0.beta.2-x86-mingw32 lib/frameworks/sproutcore/frameworks/foundation/core.js
sproutcore-1.6.0.beta.2-java lib/frameworks/sproutcore/frameworks/foundation/core.js
sproutcore-1.6.0.beta.2 lib/frameworks/sproutcore/frameworks/foundation/core.js
sproutcore-1.6.0.beta.1 lib/frameworks/sproutcore/frameworks/foundation/core.js
sproutcore-1.5.0-java lib/frameworks/sproutcore/frameworks/foundation/core.js
sproutcore-1.5.0 lib/frameworks/sproutcore/frameworks/foundation/core.js