neuland/jade4j — pull request #12 by gscottrw (2012-07-16 22:01:19+00:00)
Title: Fix for #11, bug in mixin injection with blocks

This is a fix for #11 which fixes mixin injection with blocks by implementing deep cloning of the mixin upon reference.

A test case from visionmedia/jade tests cases is included, but results must be checked manually similar to other tests.

As a side note, the cloning operation should really occur at template compilation time, and not during template evaluation for better performance and memory management.