created site just for chat

This commit is contained in:
edbernar
2024-07-30 20:19:29 +02:00
parent 57c261c689
commit 54fb27fe16
1288 changed files with 421 additions and 4240 deletions

8
site/game/node_modules/stats/test/fixtures/arrays.js generated vendored Normal file
View File

@ -0,0 +1,8 @@
var foo = [
'bar',
'baz',
'raz'
];
foo.push(['foo', 'bar', 'baz']);

View File

@ -0,0 +1,8 @@
/**
* testing stuff.
*
* @param {Type} name
* @return {Type}
* @api public
*/

View File

@ -0,0 +1,18 @@
function foo() {
console.log('test');
}
function bar() {
console.log('test');
}
var baz = function(){
console.log('stuff');
};
global = function(){
console.log('foo');
console.log('bar');
console.log('baz');
}

11
site/game/node_modules/stats/test/fixtures/http.js generated vendored Normal file
View File

@ -0,0 +1,11 @@
/**
* Module dependencies.
*/
var http = require('http');
http.createServer(function(req, res){
res.setHeader('Content-Type', 'text/plain');
res.end('Hello World\n');
}).listen(3000);

65
site/game/node_modules/stats/test/fixtures/large.js generated vendored Normal file
View File

@ -0,0 +1,65 @@
/*!
* jss
* Copyright(c) 2011 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
/**
* Module dependencies.
*/
var parse = require('uglify-js').parser.parse;
/**
* Library version.
*/
exports.version = '0.0.1';
/**
* Return stats for the given javascript `str`.
*
* @param {String} str
* @return {Object}
* @api public
*/
exports.stats = function(str){
var stats = {
statements: 0
, assignments: 0
, functions: 0
, numbers: 0
, strings: 0
, stringBytes: 0
, loc: str.split('\n').length
, bytes: Buffer.byteLength(str)
};
function visit(node) {
if (!node) return;
var name = node[0];
// array support
if ('string' != typeof name) {
for (var i = 0, len = node.length; i < len; ++i) {
visit(node[i]);
}
return;
}
// rename "name" to "ident"
if ('name' == name) name = 'ident';
// visit the node
if (!visit[name]) throw new Error('no visitor implemented for "' + name + '"');
visit[name](node);
}
visit['toplevel'] = function(node){
visit(node[1]);
};
return stats;
};

View File

@ -0,0 +1,9 @@
var foo = { foo: 'bar' };
var tj = {
first: 'tj'
, last: 'holowaychuk'
};
tj = new User(tj);

View File

@ -0,0 +1,5 @@
#!/usr/bin/env node
console.log('foo')
console.log('bar')
console.log('baz')

9
site/game/node_modules/stats/test/fixtures/simple.js generated vendored Normal file
View File

@ -0,0 +1,9 @@
var foo = 'foo'
, bar = 'bar'
, baz = 'baz'
, test;
console.log(foo = 'hey');
console.log(bar);
console.log(baz);

9
site/game/node_modules/stats/test/fixtures/switch.js generated vendored Normal file
View File

@ -0,0 +1,9 @@
switch ('foo') {
case 'foo':
console.log('foo');
break;
case 'bar':
console.log('bar');
break;
}

9
site/game/node_modules/stats/test/fixtures/while.js generated vendored Normal file
View File

@ -0,0 +1,9 @@
out: while (foo) {
if (bar) continue;
break out;
}
do {
console.log(foo);
} while(bar);

5
site/game/node_modules/stats/test/fixtures/with.js generated vendored Normal file
View File

@ -0,0 +1,5 @@
with (foo) {
bar();
baz();
}