onirame/is — pull request #1 by recursivevirus (2011-12-22 20:49:25+00:00)
Title: Fix for node.js

The current version of 'is' in npm is broken for node.js:

[12:47][hsilberman@dhcp-166:/tmp]$ npm install is
is@0.1.4 ./node_modules/is
[12:47][hsilberman@dhcp-166:/tmp]$ node
> require('is');
ReferenceError: is is not defined
at /private/tmp/node_modules/is/is.js:29:3
at Object. (/private/tmp/node_modules/is/is.js:602:1)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at repl:1:1
at REPLServer.eval (repl.js:80:21)

This commit fixes it for node. It still works fine in Chrome.

thanks!
Hernan