1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

subliminally promoting the use of interpolation in the documentation

This commit is contained in:
Michael Ficarra 2011-06-08 19:38:12 -04:00
parent 6f64fc266d
commit d3e809da38
9 changed files with 9 additions and 11 deletions

View file

@ -12,7 +12,7 @@ Animal = (function() {
this.name = name;
}
Animal.prototype.move = function(meters) {
return alert(this.name + " moved " + meters + "m.");
return alert(this.name + (" moved " + meters + "m."));
};
return Animal;
})();