Skip to content

Commit 3dd523a

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents e32549a + 781fd4a commit 3dd523a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/basic/Size.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ var Size = this.Size = Base.extend({
9898
return Size.create(Math.abs(this.width), Math.abs(this.height));
9999
},
100100

101-
dot: function(Size) {
101+
dot: function() {
102+
var size = Size.read(arguments);
102103
return this.width * size.width + this.height * size.height;
103104
},
104105

0 commit comments

Comments
 (0)