better checking for node environment, moving node_modules into gitignore

pull/1/head
Joseph Finlayson 10 years ago
parent 19a5a7acca
commit 018692e7f4

1
.gitignore vendored

@ -0,0 +1 @@
node_modules

@ -13,7 +13,8 @@
(function (root, undefined) {
'use strict';
var NODE_JS = typeof(module) != 'undefined';
var NODE_JS = typeof window === 'undefined';
if (NODE_JS) {
root = global;
}

Loading…
Cancel
Save