[Code Style] Rename shadowing variables
This commit is contained in:
@@ -69,7 +69,7 @@ define(
|
||||
});
|
||||
|
||||
it("detects display orientation", function () {
|
||||
var agentService = new AgentService(testWindow);
|
||||
agentService = new AgentService(testWindow);
|
||||
testWindow.innerWidth = 1024;
|
||||
testWindow.innerHeight = 400;
|
||||
expect(agentService.isPortrait()).toBeFalsy();
|
||||
|
||||
Reference in New Issue
Block a user