documentcloud/backbone — pull request #1802 by braddunbar (2012-11-05 22:00:45+00:00)
Title: Load DOM library only in a browser environment.

To prevent confusion, Backbone.$ should only be set if executing in a browser
environment. Otherwise, it can be set separately via `Backbone.$ =
require('lib')`.

Inspired by #1790, which may or may not be fixed by this patch.