Skip to content

Commit

Permalink
Merge pull request #30 from yckart/patch-1
Browse files Browse the repository at this point in the history
Fixed shapes.js => Rectangle arguments
  • Loading branch information
jneen committed Aug 15, 2014
2 parents 2301213 + 9eb1764 commit 2365c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/shapes.js
Expand Up @@ -8,7 +8,7 @@ var Shape = P(function(shape) {

var Rectangle = P(Shape, function(rect, shape) {
// @override
rect.init = function(x, y, width, height) {
rect.init = function(x, y, w, h) {
shape.init.call(this, x, y);
this.w = w;
this.h = h;
Expand Down

0 comments on commit 2365c63

Please sign in to comment.