Sha256: 52e57432dedb007dc8cbc7f19f650f46386ead4f42c3f0037b12bc4991b90ba0

Contents?: true

Size: 652 Bytes

Versions: 5

Compression:

Stored size: 652 Bytes

Contents

// ==========================================================================
// Project:   SproutCore - JavaScript Application Framework
// Copyright: ©2006-2011 Strobe Inc. and contributors.
// License:   Licensed under MIT license (see license.js)
// ==========================================================================

sc_require('views/desktop/scroll');
sc_require('views/touch/scroll');

SC.ScrollView = SC.platform.touch ? SC.TouchScrollView : SC.DesktopScrollView;

// Spoofed browsers should use TouchScrollView.
if (SC.browser && SC.platform && SC.browser.mobileSafari && !SC.platform.touch) {
  SC.ScrollView = SC.TouchScrollView;
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sproutcore-1.8.2.1 lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/views/scroll.js
sproutcore-1.8.1 lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/views/scroll.js
sproutcore-1.8.0 lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/views/scroll.js
sproutcore-1.7.1.beta-java lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/views/scroll.js
sproutcore-1.7.1.beta lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/views/scroll.js