darkf/heart.js — pull request #8 by 00Davo (2014-01-01 03:45:18+00:00)
Title: Adds support for loading heart.js as a CommonJS or AMD module

A wrapper taken from https://github.com/umdjs/umd/blob/master/returnExports.js
has been added around the entire script file; this enables use with AMD loaders
(such as RequireJS) or CommonJS loaders (such as Browserify).

Using heart.js as a browser global, by loading it through a