purl icon indicating copy to clipboard operation
purl copied to clipboard

Allow purl to eval in a non-browser environment

Open lfac-pt opened this issue 11 years ago • 1 comments

During the build process of a project I'm working on, purl gets evaled by https://github.com/jrburke/r.js, which is running on node, and as such there is no window object.

This commit makes some very small changes to allow purl to eval and to work on a non-browser environment, namely it does not require window to exist.

lfac-pt avatar Aug 28 '13 16:08 lfac-pt

+1

licx avatar Oct 28 '13 22:10 licx