]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#582] Merge original options object with modified object
authorrwldrn <waldron.rick@gmail.com>
Thu, 23 Jun 2011 18:50:23 +0000 (14:50 -0400)
committerrwldrn <waldron.rick@gmail.com>
Thu, 23 Jun 2011 18:50:23 +0000 (14:50 -0400)
popcorn.js

index 507edbc745c06c163c8a2ade4b02b2ea5db83be5..7768d1a79d97adbab3f505ee2d3b9185b15e1ba6 100644 (file)
       options._natives._setup && options._natives._setup.call( this, mergedSetupOpts );
 
       // Create new track event for this instance
-      Popcorn.addTrackEvent( this, options );
+      Popcorn.addTrackEvent( this, Popcorn.extend( mergedSetupOpts, options ) );
 
       //  Future support for plugin event definitions
       //  for all of the native events