Fix bugs when dynamically loading paper.js source code in Node.

This commit is contained in:
Jürg Lehni 2014-04-28 16:42:06 +02:00
parent e851090c81
commit ad4f74a872

View file

@ -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');