Skip to content

Commit

Permalink
Fix missing bracket in turtle
Browse files Browse the repository at this point in the history
  • Loading branch information
blacatena committed Mar 4, 2013
1 parent caff358 commit f6e3a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/turtle/__init__.js
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,7 @@ var $builtinmodule = function(name) {
$loc.distance = new Sk.builtin.func(function(self, tx, ty) {
tx = Sk.builtin.asnum$(tx);
ty = Sk.builtin.asnum$(ty);
if ((typeof(tx)).toLowerCase() === 'number')
if ((typeof(tx)).toLowerCase() === 'number') {
tx = [tx, ty, 0];
} else {
tx = [self.theTurtle.getx(), self.theTurtle.gety(), 0];
Expand Down

0 comments on commit f6e3a77

Please sign in to comment.