mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-28 22:08:54 -04:00
Move Item base mouse handling code to CanvasView.
This commit is contained in:
parent
577c884a70
commit
57bd659023
4 changed files with 54 additions and 37 deletions
|
@ -1,7 +1,9 @@
|
|||
var fs = require('fs'),
|
||||
vm = require('vm'),
|
||||
path = require('path'),
|
||||
Canvas = require('canvas');
|
||||
// Have HTMLCanvasElement reference Canvas too, so we do not handle browser
|
||||
// and server differently in some places of our code.
|
||||
Canvas = HTMLCanvasElement =require('canvas');
|
||||
|
||||
__dirname = path.resolve(__dirname, '../src/');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue