Example project directory, the root folders are pretty consistent, the sub directories (on lib
, etc) are just examples of what might be in there.
.
├── lib
│ ├── db
│ ├── handlers
│ └── routes
www: | |
requirements: | |
- faye | |
- jade |
// Ruby = 5.times { |i| puts i } | |
// JS = (1).times(function(i){console.log(i);}) | |
Number.prototype.times = function(cb) { | |
var i = -1; | |
while (++i < this) { | |
cb(i); | |
} | |
return +this; |