From ad4f74a8723c2333ada1049b3bc728deff7d307a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 28 Apr 2014 16:42:06 +0200 Subject: [PATCH] Fix bugs when dynamically loading paper.js source code in Node. --- src/load.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/load.js b/src/load.js index dd35ac08..fef9e216 100644 --- a/src/load.js +++ b/src/load.js @@ -43,7 +43,9 @@ if (typeof window === 'object') { // Override node specific options. prepro.setOptions({ environment: 'node', - stats: false + legacy: false, + stats: false, + version: 'dev' }); // Load Paper.js library files. prepro.include('../src/paper.js');