Fix PaperScript support in node.

This commit is contained in:
Jürg Lehni 2013-05-08 20:38:23 -07:00
parent 6fd93978f8
commit c5627d141e
3 changed files with 7 additions and 8 deletions
examples/Node.js

View file

@ -1,5 +1,6 @@
require('paper');
var paper = require('./Tadpoles');
var paper = require('./Tadpoles.pjs');
paper.view.exportFrames({
amount: 400,
directory: __dirname,

View file

@ -277,4 +277,4 @@ function onFrame(event) {
function onResize(event) {
size = view.size;
heartPath.position = view.center;
}
}