This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
createQueue - ease the pain of nested callbacks on animation | |
*/ | |
function createQueue (stepCallback) { | |
var queue = []; | |
var isPaused; | |
var totalSteps = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* jshint node:true, es3:false */ | |
// we need some complex maths functions :) | |
var maths = require('./maths'); | |
console.log(maths.XplusY(2, 4)); | |
console.log(maths.XtimesY(2, 4)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for category, articles in categories %} | |
<h2><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></h2> | |
<ul> | |
{% for article in articles %} | |
<li><a href="{{ SITEURL }}/{{ article.url }}">{{ article }}</a></li> | |
{% endfor %} | |
</ul> | |
{% endfor %} |