Closed GCheung55 closed 10 years ago
Unfortunately the delete statements are not the only problem in IE<=8, hence it will need a little bit more time to get it running.
Maybe it's not the final solution, but if you need a quick fix you can do the following:
modify file browser-wiring.js, change the delete block at the end to the following:
buster.sinon = sinon;
try {
delete this.define;
delete this.when;
delete this.async;
delete this.platform;
delete this._;
} catch (e) {
this['define'] = undefined;
this['when'] = undefined;
this['async'] = undefined;
this['platform'] = undefined;
this['_'] = undefined;
}
delete var buster =
from the first line of the file amd-shim.js, so that the resulting line is:
this.buster = this.buster || {};
For me the tests then run in IE7, IE8 and IE10. Nevertheless i will provide a proved fix asap.
Fixed by 1a5f65031c.
IE <= 8 has been throwing an error with buster-test and buster-static browser tests.
It's referring to
delete this.sinon;
and the like.