Skip to content

Commit

Permalink
Merge pull request hackreactor#16 from sunesimonsen/patch-1
Browse files Browse the repository at this point in the history
Made global variables local
  • Loading branch information
mrdavidlaing committed Jul 31, 2012
2 parents ff8f175 + ee4baf8 commit 64317bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions koans/AboutObjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe("About Objects", function () {
}
};

battleCry = meglomaniac.battleCry(4);
var battleCry = meglomaniac.battleCry(4);
expect(FILL_ME_IN).toMatch(battleCry);
});

Expand Down Expand Up @@ -60,14 +60,14 @@ describe("About Objects", function () {

it("should have the bomb", function () {

hasBomb = "theBomb" in meglomaniac;
var hasBomb = "theBomb" in meglomaniac;

expect(hasBomb).toBe(FILL_ME_IN);
});

it("should not have the detonator however", function () {

hasDetonator = "theDetonator" in meglomaniac;
var hasDetonator = "theDetonator" in meglomaniac;

expect(hasDetonator).toBe(FILL_ME_IN);
});
Expand Down

0 comments on commit 64317bd

Please sign in to comment.