Create monorepo from known-good production state
This commit is contained in:
commit
c034824338
651 changed files with 120469 additions and 0 deletions
11
svgnest/util/eval.js
Normal file
11
svgnest/util/eval.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
var isNode = typeof module !== 'undefined' && module.exports;
|
||||
|
||||
if (isNode) {
|
||||
process.once('message', function (code) {
|
||||
eval(JSON.parse(code).data);
|
||||
});
|
||||
} else {
|
||||
self.onmessage = function (code) {
|
||||
eval(code.data);
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue