nodejs with express server, leapmotion for movement control, and threejs for 3d render

This commit is contained in:
idoctnef
2016-05-30 18:14:08 +02:00
parent e2aeac1bae
commit 52b63ee33a
893 changed files with 127726 additions and 0 deletions

3
node_modules/global/.npmignore generated vendored Normal file
View File

@@ -0,0 +1,3 @@
/components
/build
/node_modules

15
node_modules/global/History.md generated vendored Normal file
View File

@@ -0,0 +1,15 @@
2.0.1 / 2013-08-23
==================
- package: add "component" section
2.0.0 / 2013-08-22
==================
- No more function invocation required, returns `global` directly
1.0.0 / 2013-08-22
==================
- Initial release

11
node_modules/global/Makefile generated vendored Normal file
View File

@@ -0,0 +1,11 @@
build: components
@component build --dev
components: component.json
@component install --dev
clean:
rm -fr build components template.js
.PHONY: clean

20
node_modules/global/Readme.md generated vendored Normal file
View File

@@ -0,0 +1,20 @@
# global
Returns a reference to the `global` object
## Installation
Install with [component(1)](http://component.io):
$ component install component/global
## API
``` js
var global = require('global');
```
## License
MIT

15
node_modules/global/component.json generated vendored Normal file
View File

@@ -0,0 +1,15 @@
{
"name": "global",
"repo": "component/global",
"description": "Returns a reference to the `global` object",
"version": "2.0.1",
"keywords": [],
"dependencies": {},
"development": {
"component/assert": "*"
},
"scripts": [
"index.js"
],
"license": "MIT"
}

8
node_modules/global/index.js generated vendored Normal file
View File

@@ -0,0 +1,8 @@
/**
* Returns `this`. Execute this without a "context" (i.e. without it being
* attached to an object of the left-hand side), and `this` points to the
* "global" scope of the current JS execution.
*/
module.exports = (function () { return this; })();

66
node_modules/global/package.json generated vendored Normal file
View File

@@ -0,0 +1,66 @@
{
"_args": [
[
"global@https://github.com/component/global/archive/v2.0.1.tar.gz",
"C:\\Users\\esanvin\\Desktop\\multi\\NodeServer\\node_modules\\has-cors"
]
],
"_from": "https://github.com/component/global/archive/v2.0.1.tar.gz",
"_id": "global@2.0.1",
"_inCache": true,
"_installable": true,
"_location": "/global",
"_phantomChildren": {},
"_requested": {
"name": "global",
"raw": "global@https://github.com/component/global/archive/v2.0.1.tar.gz",
"rawSpec": "https://github.com/component/global/archive/v2.0.1.tar.gz",
"scope": null,
"spec": "https://github.com/component/global/archive/v2.0.1.tar.gz",
"type": "remote"
},
"_requiredBy": [
"/has-cors"
],
"_resolved": "https://github.com/component/global/archive/v2.0.1.tar.gz",
"_shasum": "3fb25343fb66d79991b0f4a429ce3b54480eec3c",
"_shrinkwrap": null,
"_spec": "global@https://github.com/component/global/archive/v2.0.1.tar.gz",
"_where": "C:\\Users\\esanvin\\Desktop\\multi\\NodeServer\\node_modules\\has-cors",
"author": {
"email": "nathan@tootallnate.net",
"name": "Nathan Rajlich",
"url": "http://n8.io/"
},
"bugs": {
"url": "https://github.com/component/global/issues"
},
"component": {
"scripts": {
"global/index.js": "index.js"
}
},
"dependencies": {},
"description": "Returns a reference to the `global` object",
"devDependencies": {
"mocha": "*"
},
"homepage": "https://github.com/component/global#readme",
"keywords": [
"global"
],
"license": "MIT",
"main": "index.js",
"name": "global",
"optionalDependencies": {},
"readme": "\n# global\n\n Returns a reference to the `global` object\n\n## Installation\n\n Install with [component(1)](http://component.io):\n\n $ component install component/global\n\n## API\n\n``` js\nvar global = require('global');\n```\n\n## License\n\n MIT\n",
"readmeFilename": "Readme.md",
"repository": {
"type": "git",
"url": "git://github.com/component/global.git"
},
"scripts": {
"test": "mocha --reporter spec test/test.js"
},
"version": "2.0.1"
}

17
node_modules/global/test/index.html generated vendored Normal file
View File

@@ -0,0 +1,17 @@
<html>
<head>
<title>Mocha</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="mocha.css" />
</head>
<body>
<div id="mocha"></div>
<script src="mocha.js"></script>
<script>mocha.setup('bdd')</script>
<script src="../build/build.js"></script>
<script src="test.js"></script>
<script>
mocha.run();
</script>
</body>
</html>

199
node_modules/global/test/mocha.css generated vendored Normal file
View File

@@ -0,0 +1,199 @@
@charset "UTF-8";
body {
font: 20px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
padding: 60px 50px;
}
#mocha ul, #mocha li {
margin: 0;
padding: 0;
}
#mocha ul {
list-style: none;
}
#mocha h1, #mocha h2 {
margin: 0;
}
#mocha h1 {
margin-top: 15px;
font-size: 1em;
font-weight: 200;
}
#mocha h1 a {
text-decoration: none;
color: inherit;
}
#mocha h1 a:hover {
text-decoration: underline;
}
#mocha .suite .suite h1 {
margin-top: 0;
font-size: .8em;
}
#mocha h2 {
font-size: 12px;
font-weight: normal;
cursor: pointer;
}
#mocha .suite {
margin-left: 15px;
}
#mocha .test {
margin-left: 15px;
}
#mocha .test:hover h2::after {
position: relative;
top: 0;
right: -10px;
content: '(view source)';
font-size: 12px;
font-family: arial;
color: #888;
}
#mocha .test.pending:hover h2::after {
content: '(pending)';
font-family: arial;
}
#mocha .test.pass.medium .duration {
background: #C09853;
}
#mocha .test.pass.slow .duration {
background: #B94A48;
}
#mocha .test.pass::before {
content: '✓';
font-size: 12px;
display: block;
float: left;
margin-right: 5px;
color: #00d6b2;
}
#mocha .test.pass .duration {
font-size: 9px;
margin-left: 5px;
padding: 2px 5px;
color: white;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
}
#mocha .test.pass.fast .duration {
display: none;
}
#mocha .test.pending {
color: #0b97c4;
}
#mocha .test.pending::before {
content: '◦';
color: #0b97c4;
}
#mocha .test.fail {
color: #c00;
}
#mocha .test.fail pre {
color: black;
}
#mocha .test.fail::before {
content: '✖';
font-size: 12px;
display: block;
float: left;
margin-right: 5px;
color: #c00;
}
#mocha .test pre.error {
color: #c00;
}
#mocha .test pre {
display: inline-block;
font: 12px/1.5 monaco, monospace;
margin: 5px;
padding: 15px;
border: 1px solid #eee;
border-bottom-color: #ddd;
-webkit-border-radius: 3px;
-webkit-box-shadow: 0 1px 3px #eee;
}
#report.pass .test.fail {
display: none;
}
#report.fail .test.pass {
display: none;
}
#error {
color: #c00;
font-size: 1.5 em;
font-weight: 100;
letter-spacing: 1px;
}
#stats {
position: fixed;
top: 15px;
right: 10px;
font-size: 12px;
margin: 0;
color: #888;
}
#stats .progress {
float: right;
padding-top: 0;
}
#stats em {
color: black;
}
#stats a {
text-decoration: none;
color: inherit;
}
#stats a:hover {
border-bottom: 1px solid #eee;
}
#stats li {
display: inline-block;
margin: 0 5px;
list-style: none;
padding-top: 11px;
}
code .comment { color: #ddd }
code .init { color: #2F6FAD }
code .string { color: #5890AD }
code .keyword { color: #8A6343 }
code .number { color: #2F6FAD }

4699
node_modules/global/test/mocha.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

22
node_modules/global/test/test.js generated vendored Normal file
View File

@@ -0,0 +1,22 @@
/**
* Module dependencies.
*/
var assert = require('assert');
var global;
try {
// component
global = require('global');
} catch (e) {
// node.js
global = require('../');
}
describe('global', function () {
it('should return the `global` object', function () {
var str = String(global);
assert('[object global]' == str || '[object Window]' == str);
});
});