Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timob 12067 New and improved scrollable view #3604

Merged
merged 6 commits into from Jan 8, 2013
Merged

Timob 12067 New and improved scrollable view #3604

merged 6 commits into from Jan 8, 2013

Conversation

nebrius
Copy link
Contributor

@nebrius nebrius commented Dec 14, 2012

No description provided.

define(['Ti/_/browser', 'Ti/_/declare', 'Ti/_/UI/KineticScrollView', 'Ti/_/lang', 'Ti/_/dom', 'Ti/_/style', 'Ti/UI'],
function(browser, declare, KineticScrollView, lang, dom, style, UI) {
define(['Ti/_/browser', 'Ti/_/declare', 'Ti/UI/View', 'Ti/_/lang', 'Ti/_/dom', 'Ti/_/style', 'Ti/UI'],
function(browser, declare, View, lang, dom, style, UI) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both "browser" and "lang" are no longer needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@@ -239,7 +264,8 @@ define(['Ti/_/browser', 'Ti/_/declare', 'Ti/_/UI/KineticScrollView', 'Ti/_/lang'
}

// Animate the views
self._updatePagingControl(viewIndex);
self._updatePagingControl();
self._showPagingControl(viewIndex);
self._animateToPosition(destination, 0, duration, UI.ANIMATION_CURVE_EASE_IN_OUT, function(){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_animateToPosition() does not exist because ScrollableView extends View now instead of KineticScrollView.

@cb1kenobi
Copy link
Contributor

Code reviewed and tested. ACCEPTED

cb1kenobi added a commit that referenced this pull request Jan 8, 2013
Timob 12067 New and improved scrollable view
@cb1kenobi cb1kenobi merged commit 8103baf into tidev:master Jan 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants