umdjs/umd — pull request #5 by jrf0110 (2012-07-17 02:43:21+00:00)
Title: Incorrect checks for node

module will be the correct object to be checking the existence of.

Not using 'var define' hoists function out of the if block making 'define' defined as a function making that check a double fail.