Skip to content

Commit

Permalink
rename item._transition to item._transn
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed Dec 17, 2013
1 parent cc6efab commit 2672284
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions item.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ extend( Item.prototype, EventEmitter.prototype );

Item.prototype._create = function() {
// transition objects
this._transition = {
this._transn = {
ingProperties: {},
clean: {},
onEnd: {}
Expand Down Expand Up @@ -285,7 +285,7 @@ Item.prototype._transition = function( args ) {
return;
}

var _transition = this._transition;
var _transition = this._transn;
// keep track of onTransitionEnd callback by css property
for ( var prop in args.onTransitionEnd ) {
_transition.onEnd[ prop ] = args.onTransitionEnd[ prop ];
Expand Down Expand Up @@ -368,7 +368,7 @@ Item.prototype.ontransitionend = function( event ) {
if ( event.target !== this.element ) {
return;
}
var _transition = this._transition;
var _transition = this._transn;
// get property name of transitioned property, convert to prefix-free
var propertyName = dashedVendorProperties[ event.propertyName ] || event.propertyName;

Expand Down

0 comments on commit 2672284

Please sign in to comment.