adding a note in the docs about how to build the parser and install the gem

This commit is contained in:
Jeremy Ashkenas
2009-12-31 18:22:51 -05:00
parent 43edd29d22
commit abfc9f5a2d
4 changed files with 31 additions and 17 deletions

View File

@@ -427,10 +427,17 @@ coffee --print app/scripts/*.coffee > concatenation.js</pre>
<h2 id="resources">Resources</h2>
<p>
<a href="http://github.com/jashkenas/coffee-script/">Source Code</a><br />
<a href="http://github.com/jashkenas/coffee-script/issues">Bugs and Feature Requests</a><br />
</p>
<ul>
<li>
<a href="http://github.com/jashkenas/coffee-script/">Source Code</a><br />
Use <tt>bin/coffee</tt> to test your changes, or <tt>rake gem:install</tt> to
create and install a custom version of the gem. If you're hacking on the
parser, use <tt>rake build:parser</tt> to rebuild it.
</li>
<li>
<a href="http://github.com/jashkenas/coffee-script/issues">Bugs and Feature Requests</a>
</li>
</ul>
<h2 id="contributing">Contributing</h2>

View File

@@ -4,7 +4,7 @@
change_numbers = function change_numbers() {
var new_num;
num = 2;
return (new_num = 3);
return (new_num = 3);
};
new_num = change_numbers();
})();

View File

@@ -6,7 +6,7 @@
return alert(this.name + " moved " + meters + "m.");
};
Snake = function Snake(name) {
return (this.name = name);
return (this.name = name);
};
Snake.__superClass__ = Animal.prototype;
Snake.prototype = new Animal();
@@ -16,7 +16,7 @@ return (this.name = name);
return Snake.__superClass__.move.call(this, 5);
};
Horse = function Horse(name) {
return (this.name = name);
return (this.name = name);
};
Horse.__superClass__ = Animal.prototype;
Horse.prototype = new Animal();