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:
parent
6f64fc266d
commit
d3e809da38
9 changed files with 9 additions and 11 deletions
|
@ -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;
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue