Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
schell committed Nov 3, 2012
1 parent d134efa commit 7e14e4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/View/Stage.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ mod({
* @param {number} time The current time in milliseconds.
* * **/
Stage.prototype.step = function Stage_step(time) {
View.prototype.draw.call(this, this.canvas.getContext('2d'));
this.draw(this.canvas.getContext('2d'));
};

return Stage;
Expand Down
4 changes: 2 additions & 2 deletions src/View/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ mod({
} else {
h = this.context.canvas.height;
}
this.height = w;
this.height = h;
}

View.prototype = {};
Expand Down Expand Up @@ -281,4 +281,4 @@ mod({
};
return View;
}
});
});

0 comments on commit 7e14e4c

Please sign in to comment.