Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
74 lines (62 sloc) 3.21 KB
<!doctype html>
<meta charset="utf-8">
<title>Node Templates</title>
<link rel="stylesheet" href="styles.css" type="text/css" media="all">
<script src=""></script>
<h1>Contributing to Node Templates</h1>
<a id="github" href=""><span>Fork me on GitHub!</span> <span>Feel awesome!</span></a>
<li><a href="index.html">Feature Comparison</a></li>
<li><a href="benchmarks.html">Benchmarks</a></li>
<li><a href="contributing.html">Contributing</a></li>
<h2>Want To Add Another Node.js Template Engine?</h2>
<p>If you'd like to contribute another library to this project, that'd be really awesome. Just to be fair, there are a few ground-rules:</p>
<li>After cloning the repository, run <code>make</code> to install all dependencies and commit hooks. Your commits will automatically be required to pass JSLint.</li>
<li><em>Do not</em> checkout or push to the <code>gh-pages</code> branch. Doing so on Github will create duplicate pages and hurt findability on search engines.</li>
<li>All libraries must be available via the NPM package install.</li>
<li>Add the library and specific version number (no fuzzy versions allowed) to <code>package.json</code>.</li>
<li>Implement the template as closely as possible to all others provided. Shortcuts and optimizations to do the same thing are <em>encouraged</em>, especially if they make the library compile and render steps faster.</li>
<li>Add the new template engine to the features table of <code>index.html</code>.</li>
<li><em>Do not</em> add new benchmarks to the <code>index.html</code> file. Implementation will be reviewed and a full benchmark run will be done.</li>
<li>If you did all of that, you are really awesome.</li>
<p>Created for the Node.js community by <a href="">Paul Armstrong</a>.</p>
$(document).ready(function () {
$('table#features tbody tr th:first-child').bind('click', function () {
var remove = [],
i = 0,
els = null,
row = $(this).parent('tr').toggleClass('selected').parent('tbody').find('.selected').each(function () {
$(this).find('td').each(function (i) {
if ($(this).has('').length) {
remove.push(i + 2);
$('table#features thead th, table#features tbody td').removeClass('nonmatch');
i = remove.length;
while (i) {
i -= 1;
els = $('table#features thead th:nth-child(' + remove[i] + '), table#features tbody td:nth-child(' + remove[i] + ')').addClass('nonmatch');