Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't always run trailer.finalized. Fixes #19.

  • Loading branch information...
commit fa8571804d88d834f8440bfc2e6096d0c213e429 1 parent 5c06a6c
@partheseas authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 Trailer.js
View
6 Trailer.js
@@ -34,11 +34,7 @@ trailer.EventEmitter = function () {
for ( prop in mark ) ( function ( method, name ) {
if ( Function.is( events.EventEmitter.prototype[ name ] ) ) {
mark[ name ] = function () {
- var m, t;
- t = trailer[ name ].apply( trailer, arguments )
- m = method.apply( mark, arguments )
-
- return t || m
+ return method.apply( mark, arguments ) || trailer[ name ].apply( trailer, arguments )
}
}
} )( mark[ prop ], prop )
Please sign in to comment.
Something went wrong with that request. Please try again.