krakenjs/engine-munger — pull request #12 by grawk (2014-07-25 19:41:52+00:00)
Title: fixing issue #11 (RangeError during dust.onLoad)

By moving these two variable declarations inside the dust.onLoad function, we avoid tripping the data.replace statement in error. Not sure if this will prevent the same error from occurring when the data.replace statement is called correctly (in a specialization scenario). Will test that ASAP. But this PR at least will do no harm.