Skip to content

Commit

Permalink
Merge pull request #49 from jrf0110/49-tx-filters
Browse files Browse the repository at this point in the history
TX dals should inherit before/afters from existing instance
  • Loading branch information
jrf0110 committed Oct 27, 2014
2 parents 54a6c86 + f2604c4 commit e79cac5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/dirac.js
Expand Up @@ -469,6 +469,8 @@ dirac.tx = {
Object.keys( dirac.Dals ).forEach( function( tbl ){
var Dal = dirac.Dals[ tbl ];
tx[ tbl ] = new Dal( client );
tx[ tbl ].befores = dirac.dals[ tbl ].befores;
tx[ tbl ].afters = dirac.dals[ tbl ].afters;
});

return tx;
Expand Down

0 comments on commit e79cac5

Please sign in to comment.