Removes `enhance` functions from SC.Pane. These are extremely slow on Firefox, somewhat slow on Safari and negligibly slow on Chrome.
Reverts removal of `enhance` in SC.Pane. It is required still in order to wrap the makeFirstResponder method of SC.ResponderContext.
SC.Query's internal token tree should be a proper SC.Error when in an error state. (Someone should make SC.Query the same.) Adds unit tests.
SC.ScrollView:
- Improves scrolling performance with requestAnimationFrame.
- Implements touch kinetic scrolling and scaling. Working on #1267. (A number of bugs and bounce-curve improvements remain to be made.)
- Improves SC.Touch documentation.
- Adds a number of new SC.ScrollView properties to control various aspects of touch scrolling (e.g. direction scroll tolerances and locks).
- Cleans up old touch-scrolling methods from SC.CollectionView, SC.ScrollerView and SC.MenuScrollView.
Updates for existing SC.ScrollView unit tests.
- Fixes responder chain bug that was preventing the content view from ever getting a swing at touch events.
- Fixes a ScrollView bug where child view tiling was failing to trigger min/max recalculations when it caused a container view resize.
- A number of unit tests were failing because SC.ScrollView now updates its layer asynchronously. Fixed these by cheating and triggering the update synchronously.
Fixes two SC.ListView unit tests that were secretly SC.ScrollView integration tests.
Fixes SC.ScrollView scale test timeouts.
SC.ScrollView: Adds unit tests for several new features.
Delints SC.ScrollView and SC.RootResponder per JSHint.
Hacks in a fix for a bug where LayoutStyleCalculator would override ScrollView content view scroll transforms.
Final variable documentation and name tweaks.
Fixes a couple of ScrollView bugs:
- Fixes a bug where min/max scroll offsets would be out of date during touch scaling.
- Fixes a bug where the scroll view would occasionally jump around for no reason when scaling.
Fixes SC.ScrollView bug where pinching in very small would cause erratic positioning of the content.