A Twitch.tv viewer reward and games system.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Steve Saldivar 4464009e1c adding bullets 12 years ago
..
test commit 12 years ago
.Readme.md.un~ commit 12 years ago
.index.js.un~ commit 12 years ago
Readme.md commit 12 years ago
index.js commit 12 years ago
package.json commit 12 years ago

Readme.md

require-all

An easy way to require all files within a directory.

Usage

var controllers = require('require-all')({
  dirname: __dirname + '/controllers',
  filter: /(.+Controller)\.js$/,
});

// controllers now is an object with references to all modules matching the filter
// for example:
// { HomeController: function HomeController() {...}, ...}