Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Oct 28, 2015
1 parent 3b0c437 commit 6f4eedd
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions test/board.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,6 @@ function newBoard() {
return board;
}

function restore(target) {
for (var prop in target) {

if (Array.isArray(target[prop])) {
continue;
}

if (target[prop] != null && typeof target[prop].restore === "function") {
target[prop].restore();
}

if (typeof target[prop] === "object") {
restore(target[prop]);
}
}
}

exports["Board.Component"] = {
setUp: function(done) {
this.board = newBoard();
Expand Down

0 comments on commit 6f4eedd

Please sign in to comment.