radiumsoftware/iridium — pull request #21 by Andrewmp1 (2012-09-08 05:49:46+00:00)
Title: Update minispade to latest version

This allows you to use a string or regex in require(path) instead of require(string) or requireAll(regex).

The example file that gets generated in app.coffee shows an example of requiring directories the same way you require individual files and that threw me for a loop:

" This file makes all the code available. Your app is initialized in the
boot file. Here's an example

require('jquery')
require('ember')
require('models')
require('views')
require('controllers')
require('helpers')

Your application begins here.."

I'm still learning minispade, but would it make sense to show an example like require(/models/) since the directory is created by default?