Closed buchanae closed 8 years ago
This shouldn't be necessary; the window
check for arc's exports needs a much smaller tweak
UMD is a well known concept, with lots of thought behind it, for a reason, including isolating the module code from the global scope.
I don't disagree with UMD, but I know that this is the wrong way to solve this problem. The "is this a browser" check was broken, and needs a one-line fix.
I found that arc wasn't loading when I was using browserify, so I moved the module to a UMD style definition.