Skip to content

Commit

Permalink
fixed prefixed() snippet and brought it up to date wrt transitionend …
Browse files Browse the repository at this point in the history
…event names. ref Modernizr#540
  • Loading branch information
paulirish committed Aug 26, 2013
1 parent aef3508 commit e346dc1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/prefixed.js
Expand Up @@ -10,11 +10,9 @@ define(['ModernizrProto', 'testPropsAll'], function( ModernizrProto, testPropsAl
// If you're trying to ascertain which transition end event to bind to, you might do something like...
//
// var transEndEventNames = {
// 'WebkitTransition' : 'webkitTransitionEnd',
// 'MozTransition' : 'transitionend',
// 'OTransition' : 'oTransitionEnd',
// 'msTransition' : 'MSTransitionEnd',
// 'transition' : 'transitionend'
// 'WebkitTransition' : 'webkitTransitionEnd',// Saf 6, Android Browser
// 'MozTransition' : 'transitionend', // only for FF < 15
// 'transition' : 'transitionend' // IE10, Opera, Chrome, FF 15+, Saf 7+
// },
// transEndEventName = transEndEventNames[ Modernizr.prefixed('transition') ];

Expand Down

0 comments on commit e346dc1

Please sign in to comment.