Simulator first commit

This commit is contained in:
2019-09-18 11:11:16 +03:00
commit 6e1686be67
5028 changed files with 985331 additions and 0 deletions

3
node_modules/component-inherit/.npmignore generated vendored Normal file
View File

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

5
node_modules/component-inherit/History.md generated vendored Normal file
View File

@ -0,0 +1,5 @@
0.0.2 / 2012-09-03
==================
* fix typo in package.json

16
node_modules/component-inherit/Makefile generated vendored Normal file
View File

@ -0,0 +1,16 @@
build: components index.js
@component build
components:
@Component install
clean:
rm -fr build components template.js
test:
@node_modules/.bin/mocha \
--require should \
--reporter spec
.PHONY: clean test

24
node_modules/component-inherit/Readme.md generated vendored Normal file
View File

@ -0,0 +1,24 @@
# inherit
Prototype inheritance utility.
## Installation
```
$ component install component/inherit
```
## Example
```js
var inherit = require('inherit');
function Human() {}
function Woman() {}
inherit(Woman, Human);
```
## License
MIT

10
node_modules/component-inherit/component.json generated vendored Normal file
View File

@ -0,0 +1,10 @@
{
"name": "inherit",
"description": "Prototype inheritance utility",
"version": "0.0.3",
"keywords": ["inherit", "utility"],
"dependencies": {},
"scripts": [
"index.js"
]
}

7
node_modules/component-inherit/index.js generated vendored Normal file
View File

@ -0,0 +1,7 @@
module.exports = function(a, b){
var fn = function(){};
fn.prototype = b.prototype;
a.prototype = new fn;
a.prototype.constructor = a;
};

48
node_modules/component-inherit/package.json generated vendored Normal file
View File

@ -0,0 +1,48 @@
{
"_from": "component-inherit@0.0.3",
"_id": "component-inherit@0.0.3",
"_inBundle": false,
"_integrity": "sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=",
"_location": "/component-inherit",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "component-inherit@0.0.3",
"name": "component-inherit",
"escapedName": "component-inherit",
"rawSpec": "0.0.3",
"saveSpec": null,
"fetchSpec": "0.0.3"
},
"_requiredBy": [
"/engine.io-client"
],
"_resolved": "https://registry.npmjs.org/component-inherit/-/component-inherit-0.0.3.tgz",
"_shasum": "645fc4adf58b72b649d5cae65135619db26ff143",
"_spec": "component-inherit@0.0.3",
"_where": "/home/sergiu/linx-audio-simulator/node_modules/engine.io-client",
"bugs": {
"url": "https://github.com/component/inherit/issues"
},
"bundleDependencies": false,
"component": {
"scripts": {
"inherit/index.js": "index.js"
}
},
"dependencies": {},
"deprecated": false,
"description": "Prototype inheritance utility",
"homepage": "https://github.com/component/inherit#readme",
"keywords": [
"inherit",
"utility"
],
"name": "component-inherit",
"repository": {
"type": "git",
"url": "git+https://github.com/component/inherit.git"
},
"version": "0.0.3"
}

21
node_modules/component-inherit/test/inherit.js generated vendored Normal file
View File

@ -0,0 +1,21 @@
/**
* Module dependencies.
*/
var inherit = require('..');
describe('inherit(a, b)', function(){
it('should inherit b\'s prototype', function(){
function Loki(){}
function Animal(){}
Animal.prototype.species = 'unknown';
inherit(Loki, Animal);
var loki = new Loki;
loki.species.should.equal('unknown');
loki.constructor.should.equal(Loki);
})
})