angular / benchpress

159 stars 26 forks source link

Temporary fix for conflicting traceurRuntime versions in benchpress lib and consumer code #23

Closed jeffbcross closed 9 years ago

jeffbcross commented 9 years ago

This is a brute-force solution to unblock writing benchmarks that require a different version of $traceurRuntime. The benchpress build step rewrites all instances of $traceurRuntime to $diTraceurRuntime and all instances of System to DITraceurSystem. Note, this only rewrites code that gets compiled into bp.js or auto-bp.js

As part of the effort of removing the build step in #18, a better solution to DI that does not require the traceur runtime to be bundled should be explored.

Fixes #21

googlebot commented 9 years ago

CLAs look good, thanks!