Fixed the example so it compiles in latest Firefox Nightly
Merge pull request #58 from mariusGundersen/fixedDiagModule

Fixed the example so it compiles in latest Firefox Nightly