Move the node.js folder into src.

This commit is contained in:
Jürg Lehni 2013-05-07 22:07:12 -07:00
parent 5f56759537
commit 9cca6d8a00
3 changed files with 3 additions and 6 deletions

View file

@ -1,7 +1,7 @@
{
"name": "paper",
"version": "0.8.1",
"main": "./node.js/index.js",
"main": "./src/node/index.js",
"engines": { "node": ">= 0.4.0" },
"dependencies": {
"canvas": ">= 0.7.0"

View file

@ -18,9 +18,6 @@
// jsdoc-toolkit will have its own project file
"folder_exclude_patterns": ["jsdoc-toolkit"]
},
{
"path": "../node.js"
},
{
"path": "..",
"name": "root",

View file

@ -15,7 +15,7 @@ var fs = require('fs'),
path = require('path'),
Canvas = require('canvas');
__dirname = path.resolve(__dirname, '../src/');
__dirname = path.resolve(__dirname, '..');
// Create the context within which we will run the source files:
var context = vm.createContext({
@ -67,4 +67,4 @@ require.extensions['.pjs'] = function(module, uri) {
module.exports = scope;
};
module.exports = new context.PaperScope();
module.exports = new context.PaperScope();