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

Carousel event properties #13396

Merged
merged 5 commits into from
Apr 26, 2014
Merged

Carousel event properties #13396

merged 5 commits into from
Apr 26, 2014

Conversation

cvrebert
Copy link
Collaborator

Fixes #13393 & #13395.

@cvrebert cvrebert added this to the v3.2.0 milestone Apr 21, 2014
@mdo
Copy link
Member

mdo commented Apr 25, 2014

Prolly just need @fat's okay on this one.

@@ -119,6 +120,7 @@
})
}

var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid". not a typo. past tense of "to slide".
Copy link
Member

Choose a reason for hiding this comment

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

could you simplify this comment to just: yes, "slid".

Copy link
Member

Choose a reason for hiding this comment

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

or // ~**~slid~~*

Copy link
Member

Choose a reason for hiding this comment

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

also maybe just reuse e var?

Copy link
Member

Choose a reason for hiding this comment

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

actually no slidEvent is better, maybe change e above to be slideEvent

Copy link
Member

Choose a reason for hiding this comment

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

and the var names will be enough to ditch all the comments?

@fat
Copy link
Member

fat commented Apr 25, 2014

lgtm basically, just some small thoughts

@cvrebert
Copy link
Collaborator Author

Okay, made the changes. Will merge once Travis turns green.

cvrebert added a commit that referenced this pull request Apr 26, 2014
@cvrebert cvrebert merged commit 05d4932 into master Apr 26, 2014
@cvrebert cvrebert deleted the carousel-events branch April 26, 2014 02:35
@mdo mdo mentioned this pull request Apr 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants