Move from global to Env

This commit is contained in:
Colin O'Byrne and JR Boyens
2013-07-22 14:29:21 -07:00
parent f2306729cd
commit 18c30566bd
3 changed files with 7 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ describe("ExceptionFormatter", function() {
describe("#stack", function() {
it("formats stack traces from Webkit, Firefox, node.js or IE10+", function() {
if (jasmine.getGlobal().ieVersion < 10) { return; }
if (jasmine.getEnv().ieVersion < 10) { return; }
var error;
try { throw new Error("an error") } catch(e) { error = e; }
@@ -53,4 +53,4 @@ describe("ExceptionFormatter", function() {
expect(new j$.ExceptionFormatter().stack()).toBeNull();
});
});
});
});