qunit: Preserve context in QUnit module environment override
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 5 Feb 2014 20:32:01 +0000 (12:32 -0800)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 5 Feb 2014 20:32:41 +0000 (12:32 -0800)
commit3dbfd49793a479efb2fb8b968ccb7f4902287b67
tree98783002b6b183563590d4f416cfba536f6fdb3e
parentc59ff09be9c2579f1feccd80937513a44e7e82a1
qunit: Preserve context in QUnit module environment override

They were being called as properties of localEnv, which is a
shallow copy of the real one. When other callbacks add
properties to the object, they weren't visible in the local
"this" of the module teardown/setup.

Change-Id: I01e2031e1e2bfcedc7aa3480ce7d9915c8fff7f1
tests/qunit/data/testrunner.js