craftyjs/Crafty — pull request #667 by Hilzu (2013-12-25 16:45:16+00:00)
Title: Work with RequireJS

require function in the compiled crafty.js expects the exported symbols the be defined in module.exports object. If using RequireJS Crafty was never added to the object. That leads to `var Crafty = require('./core.js'),` returning an empty object which leads to Crafty failing to initialize.