5 | * MIT Licensed
6 | */
7 |
8 | /**
9 | * Memory cache.
10 | */
11 |
12 | var cache = {};
13 |
14 | /**
15 | * Resolve partial object name from the view path.
16 | *
17 | * Examples:
18 | *
19 | * "user.ejs" becomes "user"
20 | * "forum thread.ejs" becomes "forumThread"
21 | * "forum/thread/post.ejs" becomes "post"
22 | * "blog-post.ejs" becomes "blogPost"
23 | *
24 | * @return {String}
25 | * @api private
26 | */
27 |
28 | exports.resolveObjectName = function(view){
29 | return cache[view] || (cache[view] = view
30 | .split('/')
31 | .slice(-1)[0]
32 | .split('.')[0]
33 | .replace(/^_/, '')
34 | .replace(/[^a-zA-Z0-9 ]+/g, ' ')
35 | .split(/ +/).map(function(word, i){
36 | return i
37 | ? word[0].toUpperCase() + word.substr(1)
38 | : word;
39 | }).join(''));
40 | };
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/.npmignore:
--------------------------------------------------------------------------------
1 | *.markdown
2 | *.md
3 | .git*
4 | Makefile
5 | benchmarks/
6 | docs/
7 | examples/
8 | install.sh
9 | support/
10 | test/
11 | .DS_Store
12 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = require('./lib/connect');
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/middleware/cookieParser.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * Connect - cookieParser
4 | * Copyright(c) 2010 Sencha Inc.
5 | * Copyright(c) 2011 TJ Holowaychuk
6 | * MIT Licensed
7 | */
8 |
9 | /**
10 | * Module dependencies.
11 | */
12 |
13 | var utils = require('./../utils');
14 |
15 | /**
16 | * Parse _Cookie_ header and populate `req.cookies`
17 | * with an object keyed by the cookie names.
18 | *
19 | * Examples:
20 | *
21 | * connect.createServer(
22 | * connect.cookieParser()
23 | * , function(req, res, next){
24 | * res.end(JSON.stringify(req.cookies));
25 | * }
26 | * );
27 | *
28 | * @return {Function}
29 | * @api public
30 | */
31 |
32 | module.exports = function cookieParser(){
33 | return function cookieParser(req, res, next) {
34 | var cookie = req.headers.cookie;
35 | if (req.cookies) return next();
36 | req.cookies = {};
37 | if (cookie) {
38 | try {
39 | req.cookies = utils.parseCookie(cookie);
40 | } catch (err) {
41 | return next(err);
42 | }
43 | }
44 | next();
45 | };
46 | };
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * Connect - methodOverride
4 | * Copyright(c) 2010 Sencha Inc.
5 | * Copyright(c) 2011 TJ Holowaychuk
6 | * MIT Licensed
7 | */
8 |
9 | /**
10 | * Provides faux HTTP method support.
11 | *
12 | * Pass an optional `key` to use when checking for
13 | * a method override, othewise defaults to _\_method_.
14 | * The original method is available via `req.originalMethod`.
15 | *
16 | * @param {String} key
17 | * @return {Function}
18 | * @api public
19 | */
20 |
21 | module.exports = function methodOverride(key){
22 | key = key || "_method";
23 | return function methodOverride(req, res, next) {
24 | req.originalMethod = req.originalMethod || req.method;
25 |
26 | // req.body
27 | if (req.body && key in req.body) {
28 | req.method = req.body[key].toUpperCase();
29 | delete req.body[key];
30 | // check X-HTTP-Method-Override
31 | } else if (req.headers['x-http-method-override']) {
32 | req.method = req.headers['x-http-method-override'].toUpperCase();
33 | }
34 |
35 | next();
36 | };
37 | };
38 |
39 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/middleware/query.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * Connect - query
4 | * Copyright(c) 2011 TJ Holowaychuk
5 | * Copyright(c) 2011 Sencha Inc.
6 | * MIT Licensed
7 | */
8 |
9 | /**
10 | * Module dependencies.
11 | */
12 |
13 | var qs = require('qs')
14 | , parse = require('url').parse;
15 |
16 | /**
17 | * Automatically parse the query-string when available,
18 | * populating the `req.query` object.
19 | *
20 | * Examples:
21 | *
22 | * connect(
23 | * connect.query()
24 | * , function(req, res){
25 | * res.end(JSON.stringify(req.query));
26 | * }
27 | * ).listen(3000);
28 | *
29 | * @return {Function}
30 | * @api public
31 | */
32 |
33 | module.exports = function query(){
34 | return function query(req, res, next){
35 | req.query = ~req.url.indexOf('?')
36 | ? qs.parse(parse(req.url).query)
37 | : {};
38 | next();
39 | };
40 | };
41 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/middleware/responseTime.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * Connect - responseTime
4 | * Copyright(c) 2011 TJ Holowaychuk
5 | * MIT Licensed
6 | */
7 |
8 | /**
9 | * Adds the `X-Response-Time` header displaying the response
10 | * duration in milliseconds.
11 | *
12 | * @return {Function}
13 | * @api public
14 | */
15 |
16 | module.exports = function responseTime(){
17 | return function(req, res, next){
18 | var writeHead = res.writeHead
19 | , start = new Date;
20 |
21 | if (res._responseTime) return next();
22 | res._responseTime = true;
23 |
24 | // proxy writeHead to calculate duration
25 | res.writeHead = function(status, headers){
26 | var duration = new Date - start;
27 | res.setHeader('X-Response-Time', duration + 'ms');
28 | res.writeHead = writeHead;
29 | res.writeHead(status, headers);
30 | };
31 |
32 | next();
33 | };
34 | };
35 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/.DS_Store
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/error.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {error}
4 |
5 |
6 |
7 |
8 |
{title}
9 |
500 {error}
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/favicon.ico
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_add.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_attach.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_attach.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_code.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_code.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_copy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_copy.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_delete.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_edit.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_error.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_excel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_excel.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_find.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_find.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_gear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_gear.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_go.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_go.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_green.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_key.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_key.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_lightning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_lightning.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_link.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_link.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_paintbrush.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_paintbrush.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_paste.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_paste.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_red.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_refresh.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_save.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_save.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_acrobat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_acrobat.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_actionscript.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_actionscript.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_add.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_c.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_camera.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_camera.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_cd.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_cd.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_code.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_code.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_code_red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_code_red.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_coldfusion.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_coldfusion.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_compressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_compressed.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_copy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_copy.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_cplusplus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_cplusplus.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_csharp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_csharp.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_cup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_cup.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_database.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_database.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_delete.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_dvd.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_dvd.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_edit.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_error.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_excel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_excel.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_find.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_find.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_flash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_flash.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_freehand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_freehand.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_gear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_gear.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_get.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_get.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_go.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_go.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_h.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_horizontal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_horizontal.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_key.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_key.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_lightning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_lightning.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_link.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_link.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_magnify.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_magnify.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_medal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_medal.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_office.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_office.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_paint.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_paint.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_paintbrush.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_paintbrush.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_paste.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_paste.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_php.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_php.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_picture.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_picture.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_powerpoint.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_powerpoint.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_put.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_put.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_ruby.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_ruby.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_stack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_stack.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_star.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_swoosh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_swoosh.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_text.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_text_width.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_text_width.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_tux.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_tux.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_vector.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_vector.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_visualstudio.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_visualstudio.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_width.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_width.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_word.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_word.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_world.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_world.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_wrench.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_wrench.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_zip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_white_zip.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_word.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_word.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_world.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/lib/public/icons/page_world.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/..travis.yml.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/..travis.yml.un~
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/.Readme.md.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/.Readme.md.un~
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/.npmignore:
--------------------------------------------------------------------------------
1 | /test/tmp/
2 | *.upload
3 | *.un~
4 | *.http
5 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/.package.json.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/.package.json.un~
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.4
4 | - 0.6
5 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/Makefile:
--------------------------------------------------------------------------------
1 | SHELL := /bin/bash
2 |
3 | test:
4 | @./test/run.js
5 |
6 | build: npm test
7 |
8 | npm:
9 | npm install .
10 |
11 | clean:
12 | rm test/tmp/*
13 |
14 | .PHONY: test clean build
15 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/TODO:
--------------------------------------------------------------------------------
1 | - Better bufferMaxSize handling approach
2 | - Add tests for JSON parser pull request and merge it
3 | - Implement QuerystringParser the same way as MultipartParser
4 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./lib/formidable');
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/lib/.incoming_form.js.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/lib/.incoming_form.js.un~
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/lib/index.js:
--------------------------------------------------------------------------------
1 | var IncomingForm = require('./incoming_form').IncomingForm;
2 | IncomingForm.IncomingForm = IncomingForm;
3 | module.exports = IncomingForm;
4 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/lib/querystring_parser.js:
--------------------------------------------------------------------------------
1 | if (global.GENTLY) require = GENTLY.hijack(require);
2 |
3 | // This is a buffering parser, not quite as nice as the multipart one.
4 | // If I find time I'll rewrite this to be fully streaming as well
5 | var querystring = require('querystring');
6 |
7 | function QuerystringParser() {
8 | this.buffer = '';
9 | };
10 | exports.QuerystringParser = QuerystringParser;
11 |
12 | QuerystringParser.prototype.write = function(buffer) {
13 | this.buffer += buffer.toString('ascii');
14 | return buffer.length;
15 | };
16 |
17 | QuerystringParser.prototype.end = function() {
18 | var fields = querystring.parse(this.buffer);
19 | for (var field in fields) {
20 | this.onField(field, fields[field]);
21 | }
22 | this.buffer = '';
23 |
24 | this.onEnd();
25 | };
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/lib/util.js:
--------------------------------------------------------------------------------
1 | // Backwards compatibility ...
2 | try {
3 | module.exports = require('util');
4 | } catch (e) {
5 | module.exports = require('sys');
6 | }
7 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "formidable",
3 | "version": "1.0.9",
4 | "dependencies": {},
5 | "devDependencies": {
6 | "gently": "0.8.0",
7 | "findit": "0.1.1",
8 | "hashish": "0.0.4",
9 | "urun": "0.0.4",
10 | "utest": "0.0.3"
11 | },
12 | "directories": {
13 | "lib": "./lib"
14 | },
15 | "main": "./lib/index",
16 | "scripts": {
17 | "test": "make test"
18 | },
19 | "engines": {
20 | "node": "*"
21 | },
22 | "_id": "formidable@1.0.9",
23 | "optionalDependencies": {},
24 | "_engineSupported": true,
25 | "_npmVersion": "1.1.9",
26 | "_nodeVersion": "v0.6.13",
27 | "_defaultsLoaded": true,
28 | "dist": {
29 | "shasum": "723f14bddc87a2ec51919d9318ea9137e780bd24"
30 | },
31 | "_from": "formidable@1.0.x"
32 | }
33 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/.common.js.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/.common.js.un~
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/.run.js.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/.run.js.un~
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/common.js:
--------------------------------------------------------------------------------
1 | var mysql = require('..');
2 | var path = require('path');
3 |
4 | var root = path.join(__dirname, '../');
5 | exports.dir = {
6 | root : root,
7 | lib : root + '/lib',
8 | fixture : root + '/test/fixture',
9 | tmp : root + '/test/tmp',
10 | };
11 |
12 | exports.port = 13532;
13 |
14 | exports.formidable = require('..');
15 | exports.assert = require('assert');
16 |
17 | exports.require = function(lib) {
18 | return require(exports.dir.lib + '/' + lib);
19 | };
20 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/file/funkyfilename.txt:
--------------------------------------------------------------------------------
1 | I am a text file with a funky name!
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/file/plain.txt:
--------------------------------------------------------------------------------
1 | I am a plain text file
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/http/no-filename/.generic.http.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/http/no-filename/.generic.http.un~
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/http/special-chars-in-filename/info.md:
--------------------------------------------------------------------------------
1 | * Opera does not allow submitting this file, it shows a warning to the
2 | user that the file could not be found instead. Tested in 9.8, 11.51 on OSX.
3 | Reported to Opera on 08.09.2011 (tracking email DSK-346009@bugs.opera.com).
4 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/js/.no-filename.js.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/js/.no-filename.js.un~
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/js/.special-chars-in-filename.js.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/js/.special-chars-in-filename.js.un~
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/js/no-filename.js:
--------------------------------------------------------------------------------
1 | module.exports['generic.http'] = [
2 | {type: 'file', name: 'upload', filename: '', fixture: 'plain.txt'},
3 | ];
4 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/js/special-chars-in-filename.js:
--------------------------------------------------------------------------------
1 | var properFilename = 'funkyfilename.txt';
2 |
3 | function expect(filename) {
4 | return [
5 | {type: 'field', name: 'title', value: 'Weird filename'},
6 | {type: 'file', name: 'upload', filename: filename, fixture: properFilename},
7 | ];
8 | };
9 |
10 | var webkit = " ? % * | \" < > . ? ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt";
11 | var ffOrIe = " ? % * | \" < > . ☃ ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt";
12 |
13 | module.exports = {
14 | 'osx-chrome-13.http' : expect(webkit),
15 | 'osx-firefox-3.6.http' : expect(ffOrIe),
16 | 'osx-safari-5.http' : expect(webkit),
17 | 'xp-chrome-12.http' : expect(webkit),
18 | 'xp-ie-7.http' : expect(ffOrIe),
19 | 'xp-ie-8.http' : expect(ffOrIe),
20 | 'xp-safari-5.http' : expect(webkit),
21 | };
22 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/integration/.test-fixtures.js.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/integration/.test-fixtures.js.un~
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/common.js:
--------------------------------------------------------------------------------
1 | var path = require('path'),
2 | fs = require('fs');
3 |
4 | try {
5 | global.Gently = require('gently');
6 | } catch (e) {
7 | throw new Error('this test suite requires node-gently');
8 | }
9 |
10 | exports.lib = path.join(__dirname, '../../lib');
11 |
12 | global.GENTLY = new Gently();
13 |
14 | global.assert = require('assert');
15 | global.TEST_PORT = 13532;
16 | global.TEST_FIXTURES = path.join(__dirname, '../fixture');
17 | global.TEST_TMP = path.join(__dirname, '../tmp');
18 |
19 | // Stupid new feature in node that complains about gently attaching too many
20 | // listeners to process 'exit'. This is a workaround until I can think of a
21 | // better way to deal with this.
22 | if (process.setMaxListeners) {
23 | process.setMaxListeners(10000);
24 | }
25 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/simple/.test-incoming-form.js.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/simple/.test-incoming-form.js.un~
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/system/.test-multi-video-upload.js.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/system/.test-multi-video-upload.js.un~
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/run.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | require('urun')(__dirname)
3 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/system/.test-mail-fixture.js.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/system/.test-mail-fixture.js.un~
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/tmp/.empty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/tmp/.empty
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/unit/.test-incoming-form.js.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/express/node_modules/connect/node_modules/formidable/test/unit/.test-incoming-form.js.un~
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/mime/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": {
3 | "name": "Robert Kieffer",
4 | "email": "robert@broofa.com",
5 | "url": "http://github.com/broofa"
6 | },
7 | "contributors": [
8 | {
9 | "name": "Benjamin Thomas",
10 | "email": "benjamin@benjaminthomas.org",
11 | "url": "http://github.com/bentomas"
12 | }
13 | ],
14 | "dependencies": {},
15 | "description": "A comprehensive library for mime-type mapping",
16 | "devDependencies": {
17 | "async_testing": ""
18 | },
19 | "keywords": [
20 | "util",
21 | "mime"
22 | ],
23 | "main": "mime.js",
24 | "name": "mime",
25 | "repository": {
26 | "url": "git://github.com/bentomas/node-mime.git",
27 | "type": "git"
28 | },
29 | "version": "1.2.4",
30 | "_id": "mime@1.2.4",
31 | "optionalDependencies": {},
32 | "engines": {
33 | "node": "*"
34 | },
35 | "_engineSupported": true,
36 | "_npmVersion": "1.1.9",
37 | "_nodeVersion": "v0.6.13",
38 | "_defaultsLoaded": true,
39 | "_from": "mime@1.2.4"
40 | }
41 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/mkdirp/.gitignore.orig:
--------------------------------------------------------------------------------
1 | node_modules/
2 | npm-debug.log
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/mkdirp/.gitignore.rej:
--------------------------------------------------------------------------------
1 | --- /dev/null
2 | +++ .gitignore
3 | @@ -0,0 +1,2 @@
4 | +node_modules/
5 | +npm-debug.log
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/mkdirp/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | npm-debug.log
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/mkdirp/examples/pow.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('mkdirp');
2 |
3 | mkdirp('/tmp/foo/bar/baz', function (err) {
4 | if (err) console.error(err)
5 | else console.log('pow!')
6 | });
7 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/mkdirp/examples/pow.js.orig:
--------------------------------------------------------------------------------
1 | var mkdirp = require('mkdirp');
2 |
3 | mkdirp('/tmp/foo/bar/baz', 0755, function (err) {
4 | if (err) console.error(err)
5 | else console.log('pow!')
6 | });
7 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/mkdirp/examples/pow.js.rej:
--------------------------------------------------------------------------------
1 | --- examples/pow.js
2 | +++ examples/pow.js
3 | @@ -1,6 +1,15 @@
4 | -var mkdirp = require('mkdirp').mkdirp;
5 | +var mkdirp = require('../').mkdirp,
6 | + mkdirpSync = require('../').mkdirpSync;
7 |
8 | mkdirp('/tmp/foo/bar/baz', 0755, function (err) {
9 | if (err) console.error(err)
10 | else console.log('pow!')
11 | });
12 | +
13 | +try {
14 | + mkdirpSync('/tmp/bar/foo/baz', 0755);
15 | + console.log('double pow!');
16 | +}
17 | +catch (ex) {
18 | + console.log(ex);
19 | +}
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/mkdirp/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mkdirp",
3 | "description": "Recursively mkdir, like `mkdir -p`",
4 | "version": "0.3.0",
5 | "author": {
6 | "name": "James Halliday",
7 | "email": "mail@substack.net",
8 | "url": "http://substack.net"
9 | },
10 | "main": "./index",
11 | "keywords": [
12 | "mkdir",
13 | "directory"
14 | ],
15 | "repository": {
16 | "type": "git",
17 | "url": "git://github.com/substack/node-mkdirp.git"
18 | },
19 | "scripts": {
20 | "test": "tap test/*.js"
21 | },
22 | "devDependencies": {
23 | "tap": "0.0.x"
24 | },
25 | "license": "MIT/X11",
26 | "engines": {
27 | "node": "*"
28 | },
29 | "_id": "mkdirp@0.3.0",
30 | "dependencies": {},
31 | "optionalDependencies": {},
32 | "_engineSupported": true,
33 | "_npmVersion": "1.1.9",
34 | "_nodeVersion": "v0.6.13",
35 | "_defaultsLoaded": true,
36 | "_from": "mkdirp@0.3.0"
37 | }
38 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/mkdirp/test/clobber.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../').mkdirp;
2 | var path = require('path');
3 | var fs = require('fs');
4 | var test = require('tap').test;
5 |
6 | var ps = [ '', 'tmp' ];
7 |
8 | for (var i = 0; i < 25; i++) {
9 | var dir = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | ps.push(dir);
11 | }
12 |
13 | var file = ps.join('/');
14 |
15 | // a file in the way
16 | var itw = ps.slice(0, 3).join('/');
17 |
18 |
19 | test('clobber-pre', function (t) {
20 | console.error("about to write to "+itw)
21 | fs.writeFileSync(itw, 'I AM IN THE WAY, THE TRUTH, AND THE LIGHT.');
22 |
23 | fs.stat(itw, function (er, stat) {
24 | t.ifError(er)
25 | t.ok(stat && stat.isFile(), 'should be file')
26 | t.end()
27 | })
28 | })
29 |
30 | test('clobber', function (t) {
31 | t.plan(2);
32 | mkdirp(file, 0755, function (err) {
33 | t.ok(err);
34 | t.equal(err.code, 'ENOTDIR');
35 | t.end();
36 | });
37 | });
38 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/mkdirp/test/mkdirp.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var test = require('tap').test;
5 |
6 | test('woo', function (t) {
7 | t.plan(2);
8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
11 |
12 | var file = '/tmp/' + [x,y,z].join('/');
13 |
14 | mkdirp(file, 0755, function (err) {
15 | if (err) t.fail(err);
16 | else path.exists(file, function (ex) {
17 | if (!ex) t.fail('file not created')
18 | else fs.stat(file, function (err, stat) {
19 | if (err) t.fail(err)
20 | else {
21 | t.equal(stat.mode & 0777, 0755);
22 | t.ok(stat.isDirectory(), 'target not a directory');
23 | t.end();
24 | }
25 | })
26 | })
27 | });
28 | });
29 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/mkdirp/test/perm.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var test = require('tap').test;
5 |
6 | test('async perm', function (t) {
7 | t.plan(2);
8 | var file = '/tmp/' + (Math.random() * (1<<30)).toString(16);
9 |
10 | mkdirp(file, 0755, function (err) {
11 | if (err) t.fail(err);
12 | else path.exists(file, function (ex) {
13 | if (!ex) t.fail('file not created')
14 | else fs.stat(file, function (err, stat) {
15 | if (err) t.fail(err)
16 | else {
17 | t.equal(stat.mode & 0777, 0755);
18 | t.ok(stat.isDirectory(), 'target not a directory');
19 | t.end();
20 | }
21 | })
22 | })
23 | });
24 | });
25 |
26 | test('async root perm', function (t) {
27 | mkdirp('/tmp', 0755, function (err) {
28 | if (err) t.fail(err);
29 | t.end();
30 | });
31 | t.end();
32 | });
33 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/mkdirp/test/rel.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var test = require('tap').test;
5 |
6 | test('rel', function (t) {
7 | t.plan(2);
8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
11 |
12 | var cwd = process.cwd();
13 | process.chdir('/tmp');
14 |
15 | var file = [x,y,z].join('/');
16 |
17 | mkdirp(file, 0755, function (err) {
18 | if (err) t.fail(err);
19 | else path.exists(file, function (ex) {
20 | if (!ex) t.fail('file not created')
21 | else fs.stat(file, function (err, stat) {
22 | if (err) t.fail(err)
23 | else {
24 | process.chdir(cwd);
25 | t.equal(stat.mode & 0777, 0755);
26 | t.ok(stat.isDirectory(), 'target not a directory');
27 | t.end();
28 | }
29 | })
30 | })
31 | });
32 | });
33 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/mkdirp/test/sync.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var test = require('tap').test;
5 |
6 | test('sync', function (t) {
7 | t.plan(2);
8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
11 |
12 | var file = '/tmp/' + [x,y,z].join('/');
13 |
14 | var err = mkdirp.sync(file, 0755);
15 | if (err) t.fail(err);
16 | else path.exists(file, function (ex) {
17 | if (!ex) t.fail('file not created')
18 | else fs.stat(file, function (err, stat) {
19 | if (err) t.fail(err)
20 | else {
21 | t.equal(stat.mode & 0777, 0755);
22 | t.ok(stat.isDirectory(), 'target not a directory');
23 | t.end();
24 | }
25 | })
26 | })
27 | });
28 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/mkdirp/test/umask.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var test = require('tap').test;
5 |
6 | test('implicit mode from umask', function (t) {
7 | t.plan(2);
8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
11 |
12 | var file = '/tmp/' + [x,y,z].join('/');
13 |
14 | mkdirp(file, function (err) {
15 | if (err) t.fail(err);
16 | else path.exists(file, function (ex) {
17 | if (!ex) t.fail('file not created')
18 | else fs.stat(file, function (err, stat) {
19 | if (err) t.fail(err)
20 | else {
21 | t.equal(stat.mode & 0777, 0777 & (~process.umask()));
22 | t.ok(stat.isDirectory(), 'target not a directory');
23 | t.end();
24 | }
25 | })
26 | })
27 | });
28 | });
29 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/mkdirp/test/umask_sync.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var test = require('tap').test;
5 |
6 | test('umask sync modes', function (t) {
7 | t.plan(2);
8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
11 |
12 | var file = '/tmp/' + [x,y,z].join('/');
13 |
14 | var err = mkdirp.sync(file);
15 | if (err) t.fail(err);
16 | else path.exists(file, function (ex) {
17 | if (!ex) t.fail('file not created')
18 | else fs.stat(file, function (err, stat) {
19 | if (err) t.fail(err)
20 | else {
21 | t.equal(stat.mode & 0777, (0777 & (~process.umask())));
22 | t.ok(stat.isDirectory(), 'target not a directory');
23 | t.end();
24 | }
25 | })
26 | })
27 | });
28 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/qs/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "support/expresso"]
2 | path = support/expresso
3 | url = git://github.com/visionmedia/expresso.git
4 | [submodule "support/should"]
5 | path = support/should
6 | url = git://github.com/visionmedia/should.js.git
7 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/qs/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/qs/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.4
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/qs/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha
4 |
5 | .PHONY: test
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/qs/benchmark.js:
--------------------------------------------------------------------------------
1 |
2 | var qs = require('./');
3 |
4 | var times = 100000
5 | , start = new Date
6 | , n = times;
7 |
8 | console.log('times: %d', times);
9 |
10 | while (n--) qs.parse('foo=bar');
11 | console.log('simple: %dms', new Date - start);
12 |
13 | var start = new Date
14 | , n = times;
15 |
16 | while (n--) qs.parse('user[name][first]=tj&user[name][last]=holowaychuk');
17 | console.log('nested: %dms', new Date - start);
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/qs/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = require('./lib/querystring');
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/qs/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "qs",
3 | "description": "querystring parser",
4 | "version": "0.4.2",
5 | "repository": {
6 | "type": "git",
7 | "url": "git://github.com/visionmedia/node-querystring.git"
8 | },
9 | "devDependencies": {
10 | "mocha": "*",
11 | "should": "*"
12 | },
13 | "author": {
14 | "name": "TJ Holowaychuk",
15 | "email": "tj@vision-media.ca",
16 | "url": "http://tjholowaychuk.com"
17 | },
18 | "main": "index",
19 | "engines": {
20 | "node": "*"
21 | },
22 | "_id": "qs@0.4.2",
23 | "dependencies": {},
24 | "optionalDependencies": {},
25 | "_engineSupported": true,
26 | "_npmVersion": "1.1.9",
27 | "_nodeVersion": "v0.6.13",
28 | "_defaultsLoaded": true,
29 | "_from": "qs@0.4.x"
30 | }
31 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/node_modules/qs/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --require should
2 | --ui exports
3 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/testing/foo/app.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * Module dependencies.
4 | */
5 |
6 | var express = require('express')
7 | , routes = require('./routes')
8 |
9 | var app = module.exports = express.createServer();
10 |
11 | // Configuration
12 |
13 | app.configure(function(){
14 | app.set('views', __dirname + '/views');
15 | app.set('view engine', 'jade');
16 | app.use(express.bodyParser());
17 | app.use(express.methodOverride());
18 | app.use(app.router);
19 | app.use(express.static(__dirname + '/public'));
20 | });
21 |
22 | app.configure('development', function(){
23 | app.use(express.errorHandler({ dumpExceptions: true, showStack: true }));
24 | });
25 |
26 | app.configure('production', function(){
27 | app.use(express.errorHandler());
28 | });
29 |
30 | // Routes
31 |
32 | app.get('/', routes.index);
33 |
34 | app.listen(3000);
35 | console.log("Express server listening on port %d in %s mode", app.address().port, app.settings.env);
36 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/testing/foo/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "application-name"
3 | , "version": "0.0.1"
4 | , "private": true
5 | , "dependencies": {
6 | "express": "2.5.0"
7 | , "jade": ">= 0.0.1"
8 | }
9 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/testing/foo/public/stylesheets/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | padding: 50px;
3 | font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
4 | }
5 |
6 | a {
7 | color: #00B7FF;
8 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/testing/foo/routes/index.js:
--------------------------------------------------------------------------------
1 |
2 | /*
3 | * GET home page.
4 | */
5 |
6 | exports.index = function(req, res){
7 | res.writeHead(200);
8 | req.doesnotexist();
9 | // res.render('index', { title: 'Express' })
10 | };
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/testing/foo/views/index.jade:
--------------------------------------------------------------------------------
1 | h1= title
2 | p Welcome to #{title}
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/testing/foo/views/layout.jade:
--------------------------------------------------------------------------------
1 | !!!
2 | html
3 | head
4 | title= title
5 | link(rel='stylesheet', href='/stylesheets/style.css')
6 | body!= body
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/testing/index.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * Module dependencies.
4 | */
5 |
6 | var express = require('../')
7 | , http = require('http')
8 | , connect = require('connect');
9 |
10 | var app = express.createServer();
11 |
12 | app.get('/', function(req, res){
13 | req.foo();
14 | res.send('test');
15 | });
16 |
17 | // app.set('views', __dirname + '/views');
18 | // app.set('view engine', 'jade');
19 | //
20 | // app.configure(function(){
21 | // app.use(function(req, res, next){
22 | // debugger
23 | // res.write('first');
24 | // console.error('first');
25 | // next();
26 | // });
27 | //
28 | // app.use(app.router);
29 | //
30 | // app.use(function(req, res, next){
31 | // console.error('last');
32 | // res.end('last');
33 | // });
34 | // });
35 | //
36 | // app.get('/', function(req, res, next){
37 | // console.error('middle');
38 | // res.write(' route ');
39 | // next();
40 | // });
41 |
42 | app.listen(3000);
43 | console.log('listening on port 3000');
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/testing/views/page.html:
--------------------------------------------------------------------------------
1 | p register test
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/testing/views/page.jade:
--------------------------------------------------------------------------------
1 | html
2 | body
3 | h1 test
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/testing/views/test.md:
--------------------------------------------------------------------------------
1 | testing _some_ markdown
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/testing/views/user/index.jade:
--------------------------------------------------------------------------------
1 | p user page
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/express/testing/views/user/list.jade:
--------------------------------------------------------------------------------
1 | p user list page
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/.npmignore:
--------------------------------------------------------------------------------
1 | /test/tmp/
2 | *.upload
3 | *.un~
4 | *.http
5 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.4
4 | - 0.6
5 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/Makefile:
--------------------------------------------------------------------------------
1 | SHELL := /bin/bash
2 |
3 | test:
4 | @./test/run.js
5 |
6 | build: npm test
7 |
8 | npm:
9 | npm install .
10 |
11 | clean:
12 | rm test/tmp/*
13 |
14 | .PHONY: test clean build
15 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/TODO:
--------------------------------------------------------------------------------
1 | - Better bufferMaxSize handling approach
2 | - Add tests for JSON parser pull request and merge it
3 | - Implement QuerystringParser the same way as MultipartParser
4 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./lib/formidable');
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/lib/index.js:
--------------------------------------------------------------------------------
1 | var IncomingForm = require('./incoming_form').IncomingForm;
2 | IncomingForm.IncomingForm = IncomingForm;
3 | module.exports = IncomingForm;
4 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/lib/querystring_parser.js:
--------------------------------------------------------------------------------
1 | if (global.GENTLY) require = GENTLY.hijack(require);
2 |
3 | // This is a buffering parser, not quite as nice as the multipart one.
4 | // If I find time I'll rewrite this to be fully streaming as well
5 | var querystring = require('querystring');
6 |
7 | function QuerystringParser() {
8 | this.buffer = '';
9 | };
10 | exports.QuerystringParser = QuerystringParser;
11 |
12 | QuerystringParser.prototype.write = function(buffer) {
13 | this.buffer += buffer.toString('ascii');
14 | return buffer.length;
15 | };
16 |
17 | QuerystringParser.prototype.end = function() {
18 | var fields = querystring.parse(this.buffer);
19 | for (var field in fields) {
20 | this.onField(field, fields[field]);
21 | }
22 | this.buffer = '';
23 |
24 | this.onEnd();
25 | };
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/lib/util.js:
--------------------------------------------------------------------------------
1 | // Backwards compatibility ...
2 | try {
3 | module.exports = require('util');
4 | } catch (e) {
5 | module.exports = require('sys');
6 | }
7 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/node-gently/Makefile:
--------------------------------------------------------------------------------
1 | test:
2 | @find test/simple/test-*.js | xargs -n 1 -t node
3 |
4 | .PHONY: test
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/node-gently/example/dog.js:
--------------------------------------------------------------------------------
1 | require('../test/common');
2 | function Dog() {}
3 |
4 | Dog.prototype.seeCat = function() {
5 | this.bark('whuf, whuf');
6 | this.run();
7 | }
8 |
9 | Dog.prototype.bark = function(bark) {
10 | require('sys').puts(bark);
11 | }
12 |
13 | var gently = new (require('gently'))
14 | , assert = require('assert')
15 | , dog = new Dog();
16 |
17 | gently.expect(dog, 'bark', function(bark) {
18 | assert.equal(bark, 'whuf, whuf');
19 | });
20 | gently.expect(dog, 'run');
21 |
22 | dog.seeCat();
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/node-gently/example/event_emitter.js:
--------------------------------------------------------------------------------
1 | require('../test/common');
2 | var gently = new (require('gently'))
3 | , stream = new (require('fs').WriteStream)('my_file.txt');
4 |
5 | gently.expect(stream, 'emit', function(event) {
6 | assert.equal(event, 'open');
7 | });
8 |
9 | gently.expect(stream, 'emit', function(event) {
10 | assert.equal(event, 'drain');
11 | });
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/node-gently/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./lib/gently');
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/node-gently/lib/gently/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./gently');
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/node-gently/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "gently",
3 | "version": "0.9.2",
4 | "directories": {
5 | "lib": "./lib/gently"
6 | },
7 | "main": "./lib/gently/index",
8 | "dependencies": {},
9 | "devDependencies": {},
10 | "engines": {
11 | "node": "*"
12 | },
13 | "optionalDependencies": {}
14 | }
15 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/node-gently/test/common.js:
--------------------------------------------------------------------------------
1 | var path = require('path')
2 | , sys = require('sys');
3 |
4 | require.paths.unshift(path.dirname(__dirname)+'/lib');
5 |
6 | global.puts = sys.puts;
7 | global.p = function() {sys.error(sys.inspect.apply(null, arguments))};;
8 | global.assert = require('assert');
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "formidable",
3 | "version": "1.0.11",
4 | "dependencies": {},
5 | "devDependencies": {
6 | "gently": "0.8.0",
7 | "findit": "0.1.1",
8 | "hashish": "0.0.4",
9 | "urun": "0.0.4",
10 | "utest": "0.0.3"
11 | },
12 | "directories": {
13 | "lib": "./lib"
14 | },
15 | "main": "./lib/index",
16 | "scripts": {
17 | "test": "make test"
18 | },
19 | "engines": {
20 | "node": "*"
21 | },
22 | "optionalDependencies": {},
23 | "_id": "formidable@1.0.11",
24 | "_engineSupported": true,
25 | "_npmVersion": "1.1.9",
26 | "_nodeVersion": "v0.6.13",
27 | "_defaultsLoaded": true,
28 | "dist": {
29 | "shasum": "0525ef127d1f35f3842048c72ccce386efbd1ffb"
30 | },
31 | "_from": "formidable"
32 | }
33 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/test/common.js:
--------------------------------------------------------------------------------
1 | var mysql = require('..');
2 | var path = require('path');
3 |
4 | var root = path.join(__dirname, '../');
5 | exports.dir = {
6 | root : root,
7 | lib : root + '/lib',
8 | fixture : root + '/test/fixture',
9 | tmp : root + '/test/tmp',
10 | };
11 |
12 | exports.port = 13532;
13 |
14 | exports.formidable = require('..');
15 | exports.assert = require('assert');
16 |
17 | exports.require = function(lib) {
18 | return require(exports.dir.lib + '/' + lib);
19 | };
20 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/test/fixture/file/funkyfilename.txt:
--------------------------------------------------------------------------------
1 | I am a text file with a funky name!
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/test/fixture/file/plain.txt:
--------------------------------------------------------------------------------
1 | I am a plain text file
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/test/fixture/http/special-chars-in-filename/info.md:
--------------------------------------------------------------------------------
1 | * Opera does not allow submitting this file, it shows a warning to the
2 | user that the file could not be found instead. Tested in 9.8, 11.51 on OSX.
3 | Reported to Opera on 08.09.2011 (tracking email DSK-346009@bugs.opera.com).
4 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/test/fixture/js/no-filename.js:
--------------------------------------------------------------------------------
1 | module.exports['generic.http'] = [
2 | {type: 'file', name: 'upload', filename: '', fixture: 'plain.txt'},
3 | ];
4 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/test/fixture/js/special-chars-in-filename.js:
--------------------------------------------------------------------------------
1 | var properFilename = 'funkyfilename.txt';
2 |
3 | function expect(filename) {
4 | return [
5 | {type: 'field', name: 'title', value: 'Weird filename'},
6 | {type: 'file', name: 'upload', filename: filename, fixture: properFilename},
7 | ];
8 | };
9 |
10 | var webkit = " ? % * | \" < > . ? ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt";
11 | var ffOrIe = " ? % * | \" < > . ☃ ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt";
12 |
13 | module.exports = {
14 | 'osx-chrome-13.http' : expect(webkit),
15 | 'osx-firefox-3.6.http' : expect(ffOrIe),
16 | 'osx-safari-5.http' : expect(webkit),
17 | 'xp-chrome-12.http' : expect(webkit),
18 | 'xp-ie-7.http' : expect(ffOrIe),
19 | 'xp-ie-8.http' : expect(ffOrIe),
20 | 'xp-safari-5.http' : expect(webkit),
21 | };
22 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/test/legacy/common.js:
--------------------------------------------------------------------------------
1 | var path = require('path'),
2 | fs = require('fs');
3 |
4 | try {
5 | global.Gently = require('gently');
6 | } catch (e) {
7 | throw new Error('this test suite requires node-gently');
8 | }
9 |
10 | exports.lib = path.join(__dirname, '../../lib');
11 |
12 | global.GENTLY = new Gently();
13 |
14 | global.assert = require('assert');
15 | global.TEST_PORT = 13532;
16 | global.TEST_FIXTURES = path.join(__dirname, '../fixture');
17 | global.TEST_TMP = path.join(__dirname, '../tmp');
18 |
19 | // Stupid new feature in node that complains about gently attaching too many
20 | // listeners to process 'exit'. This is a workaround until I can think of a
21 | // better way to deal with this.
22 | if (process.setMaxListeners) {
23 | process.setMaxListeners(10000);
24 | }
25 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/formidable/test/run.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | require('urun')(__dirname)
3 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/socket.io/.DS_Store
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/Makefile:
--------------------------------------------------------------------------------
1 |
2 | ALL_TESTS = $(shell find test/ -name '*.test.js')
3 |
4 | run-tests:
5 | @./node_modules/.bin/expresso \
6 | -t 3000 \
7 | -I support \
8 | -I lib \
9 | --serial \
10 | $(TESTFLAGS) \
11 | $(TESTS)
12 |
13 | test:
14 | @$(MAKE) TESTS="$(ALL_TESTS)" run-tests
15 |
16 | test-cov:
17 | @TESTFLAGS=--cov $(MAKE) test
18 |
19 | test-leaks:
20 | @ls test/leaks/* | xargs node --expose_debug_as=debug --expose_gc
21 |
22 | .PHONY: test
23 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/examples/chat/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "chat.io"
3 | , "description": "example chat application with socket.io"
4 | , "version": "0.0.1"
5 | , "dependencies": {
6 | "express": "2.3.11"
7 | , "jade": "0.12.1"
8 | , "stylus": "0.13.3"
9 | , "nib": "0.0.8"
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/examples/irc-output/index.jade:
--------------------------------------------------------------------------------
1 | doctype 5
2 | html
3 | head
4 | link(href='/stylesheets/style.css', rel='stylesheet')
5 | script(src='http://code.jquery.com/jquery-1.6.1.min.js')
6 | script(src='/socket.io/socket.io.js')
7 | script
8 | var socket = io.connect();
9 |
10 | socket.on('connect', function () {
11 | $('#irc').addClass('connected');
12 | });
13 |
14 | socket.on('announcement', function (msg) {
15 | $('#messages').append($('').append($('').text(msg)));
16 | $('#messages').get(0).scrollTop = 10000000;
17 | });
18 |
19 | socket.on('irc message', function (user, msg) {
20 | $('#messages').append($('').append($('').text(user), msg));
21 | $('#messages').get(0).scrollTop = 10000000;
22 | });
23 | body
24 | h2 Node.JS IRC
25 | #irc
26 | #connecting
27 | .wrap Connecting to socket.io server
28 | #messages
29 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/examples/irc-output/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "socket.io-irc"
3 | , "version": "0.0.1"
4 | , "dependencies": {
5 | "express": "2.3.11"
6 | , "jade": "0.12.1"
7 | , "stylus": "0.13.3"
8 | , "nib": "0.0.8"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/index.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * socket.io-node
4 | * Copyright(c) 2011 LearnBoost
5 | * MIT Licensed
6 | */
7 |
8 | module.exports = require('./lib/socket.io');
9 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/lib/transports/index.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * Export transports.
4 | */
5 |
6 | module.exports = {
7 | websocket: require('./websocket')
8 | , flashsocket: require('./flashsocket')
9 | , htmlfile: require('./htmlfile')
10 | , 'xhr-polling': require('./xhr-polling')
11 | , 'jsonp-polling': require('./jsonp-polling')
12 | };
13 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/lib/transports/websocket.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * socket.io-node
4 | * Copyright(c) 2011 LearnBoost
5 | * MIT Licensed
6 | */
7 |
8 | /**
9 | * Module requirements.
10 | */
11 |
12 | var protocolVersions = require('./websocket/');
13 |
14 | /**
15 | * Export the constructor.
16 | */
17 |
18 | exports = module.exports = WebSocket;
19 |
20 | /**
21 | * HTTP interface constructor. Interface compatible with all transports that
22 | * depend on request-response cycles.
23 | *
24 | * @api public
25 | */
26 |
27 | function WebSocket (mng, data, req) {
28 | var version = req.headers['sec-websocket-version'];
29 | if (typeof version !== 'undefined' && typeof protocolVersions[version] !== 'undefined') {
30 | return new protocolVersions[version](mng, data, req);
31 | }
32 | return new protocolVersions['default'](mng, data, req);
33 | };
34 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/lib/transports/websocket/index.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * Export websocket versions.
4 | */
5 |
6 | module.exports = {
7 | 7: require('./hybi-07-12'),
8 | 8: require('./hybi-07-12'),
9 | default: require('./default')
10 | };
11 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/lib/util.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * socket.io-node
4 | * Copyright(c) 2011 LearnBoost
5 | * MIT Licensed
6 | */
7 |
8 | /**
9 | * Module dependencies.
10 | */
11 |
12 | /**
13 | * Converts an enumerable to an array.
14 | *
15 | * @api public
16 | */
17 |
18 | exports.toArray = function (enu) {
19 | var arr = [];
20 |
21 | for (var i = 0, l = enu.length; i < l; i++)
22 | arr.push(enu[i]);
23 |
24 | return arr;
25 | };
26 |
27 | /**
28 | * Unpacks a buffer to a number.
29 | *
30 | * @api public
31 | */
32 |
33 | exports.unpack = function (buffer) {
34 | var n = 0;
35 | for (var i = 0; i < buffer.length; ++i) {
36 | n = (i == 0) ? buffer[i] : (n * 256) + buffer[i];
37 | }
38 | return n;
39 | }
40 |
41 | /**
42 | * Left pads a string.
43 | *
44 | * @api public
45 | */
46 |
47 | exports.padl = function (s,n,c) {
48 | return new Array(1 + n - s.length).join(c) + s;
49 | }
50 |
51 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/policyfile/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/policyfile/Makefile:
--------------------------------------------------------------------------------
1 | doc:
2 | dox --title "FlashPolicyFileServer" lib/* > doc/index.html
3 |
4 | test:
5 | expresso -I lib $(TESTFLAGS) tests/*.test.js
6 |
7 | .PHONY: test doc
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/policyfile/examples/basic.fallback.js:
--------------------------------------------------------------------------------
1 | var http = require('http')
2 | , fspfs = require('../');
3 |
4 | var server = http.createServer(function(q,r){ r.writeHead(200); r.end(':3') })
5 | , flash = fspfs.createServer();
6 |
7 | server.listen(8080);
8 | flash.listen(8081,server);
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/policyfile/examples/basic.js:
--------------------------------------------------------------------------------
1 | var http = require('http')
2 | , fspfs = require('../');
3 |
4 | var flash = fspfs.createServer();
5 | flash.listen();
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/policyfile/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./lib/server.js');
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/eval_test.js:
--------------------------------------------------------------------------------
1 | var redis = require("./index"),
2 | client = redis.createClient();
3 |
4 | redis.debug_mode = true;
5 |
6 | client.eval("return 100.5", 0, function (err, res) {
7 | console.dir(err);
8 | console.dir(res);
9 | });
10 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/examples/auth.js:
--------------------------------------------------------------------------------
1 | var redis = require("redis"),
2 | client = redis.createClient();
3 |
4 | // This command is magical. Client stashes the password and will issue on every connect.
5 | client.auth("somepass");
6 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/examples/backpressure_drain.js:
--------------------------------------------------------------------------------
1 | var redis = require("../index"),
2 | client = redis.createClient(null, null, {
3 | command_queue_high_water: 5,
4 | command_queue_low_water: 1
5 | }),
6 | remaining_ops = 100000, paused = false;
7 |
8 | function op() {
9 | if (remaining_ops <= 0) {
10 | console.error("Finished.");
11 | process.exit(0);
12 | }
13 |
14 | remaining_ops--;
15 | if (client.hset("test hash", "val " + remaining_ops, remaining_ops) === false) {
16 | console.log("Pausing at " + remaining_ops);
17 | paused = true;
18 | } else {
19 | process.nextTick(op);
20 | }
21 | }
22 |
23 | client.on("drain", function () {
24 | if (paused) {
25 | console.log("Resuming at " + remaining_ops);
26 | paused = false;
27 | process.nextTick(op);
28 | } else {
29 | console.log("Got drain while not paused at " + remaining_ops);
30 | }
31 | });
32 |
33 | op();
34 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/examples/extend.js:
--------------------------------------------------------------------------------
1 | var redis = require("redis"),
2 | client = redis.createClient();
3 |
4 | // Extend the RedisClient prototype to add a custom method
5 | // This one converts the results from "INFO" into a JavaScript Object
6 |
7 | redis.RedisClient.prototype.parse_info = function (callback) {
8 | this.info(function (err, res) {
9 | var lines = res.toString().split("\r\n").sort();
10 | var obj = {};
11 | lines.forEach(function (line) {
12 | var parts = line.split(':');
13 | if (parts[1]) {
14 | obj[parts[0]] = parts[1];
15 | }
16 | });
17 | callback(obj)
18 | });
19 | };
20 |
21 | client.parse_info(function (info) {
22 | console.dir(info);
23 | client.quit();
24 | });
25 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/examples/mget.js:
--------------------------------------------------------------------------------
1 | var client = require("redis").createClient();
2 |
3 | client.mget(["sessions started", "sessions started", "foo"], function (err, res) {
4 | console.dir(res);
5 | });
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/examples/monitor.js:
--------------------------------------------------------------------------------
1 | var client = require("../index").createClient(),
2 | util = require("util");
3 |
4 | client.monitor(function (err, res) {
5 | console.log("Entering monitoring mode.");
6 | });
7 |
8 | client.on("monitor", function (time, args) {
9 | console.log(time + ": " + util.inspect(args));
10 | });
11 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/examples/multi2.js:
--------------------------------------------------------------------------------
1 | var redis = require("redis"),
2 | client = redis.createClient(), multi;
3 |
4 | // start a separate command queue for multi
5 | multi = client.multi();
6 | multi.incr("incr thing", redis.print);
7 | multi.incr("incr other thing", redis.print);
8 |
9 | // runs immediately
10 | client.mset("incr thing", 100, "incr other thing", 1, redis.print);
11 |
12 | // drains multi queue and runs atomically
13 | multi.exec(function (err, replies) {
14 | console.log(replies); // 101, 2
15 | });
16 |
17 | // you can re-run the same transaction if you like
18 | multi.exec(function (err, replies) {
19 | console.log(replies); // 102, 3
20 | client.quit();
21 | });
22 |
23 | client.multi([
24 | ["mget", "multifoo", "multibar", redis.print],
25 | ["incr", "multifoo"],
26 | ["incr", "multibar"]
27 | ]).exec(function (err, replies) {
28 | console.log(replies.toString());
29 | });
30 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/examples/simple.js:
--------------------------------------------------------------------------------
1 | var redis = require("redis"),
2 | client = redis.createClient();
3 |
4 | client.on("error", function (err) {
5 | console.log("Redis connection error to " + client.host + ":" + client.port + " - " + err);
6 | });
7 |
8 | client.set("string key", "string val", redis.print);
9 | client.hset("hash key", "hashtest 1", "some value", redis.print);
10 | client.hset(["hash key", "hashtest 2", "some other value"], redis.print);
11 | client.hkeys("hash key", function (err, replies) {
12 | console.log(replies.length + " replies:");
13 | replies.forEach(function (reply, i) {
14 | console.log(" " + i + ": " + reply);
15 | });
16 | client.quit();
17 | });
18 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/examples/subqueries.js:
--------------------------------------------------------------------------------
1 | // Sending commands in response to other commands.
2 | // This example runs "type" against every key in the database
3 | //
4 | var client = require("redis").createClient();
5 |
6 | client.keys("*", function (err, keys) {
7 | keys.forEach(function (key, pos) {
8 | client.type(key, function (err, keytype) {
9 | console.log(key + " is " + keytype);
10 | if (pos === (keys.length - 1)) {
11 | client.quit();
12 | }
13 | });
14 | });
15 | });
16 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/examples/subquery.js:
--------------------------------------------------------------------------------
1 | var client = require("redis").createClient();
2 |
3 | function print_results(obj) {
4 | console.dir(obj);
5 | }
6 |
7 | // build a map of all keys and their types
8 | client.keys("*", function (err, all_keys) {
9 | var key_types = {};
10 |
11 | all_keys.forEach(function (key, pos) { // use second arg of forEach to get pos
12 | client.type(key, function (err, type) {
13 | key_types[key] = type;
14 | if (pos === all_keys.length - 1) { // callbacks all run in order
15 | print_results(key_types);
16 | }
17 | });
18 | });
19 | });
20 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/examples/unix_socket.js:
--------------------------------------------------------------------------------
1 | var redis = require("redis"),
2 | client = redis.createClient("/tmp/redis.sock"),
3 | profiler = require("v8-profiler");
4 |
5 | client.on("connect", function () {
6 | console.log("Got Unix socket connection.")
7 | });
8 |
9 | client.on("error", function (err) {
10 | console.log(err.message);
11 | });
12 |
13 | client.set("space chars", "space value");
14 |
15 | setInterval(function () {
16 | client.get("space chars");
17 | }, 100);
18 |
19 | function done() {
20 | client.info(function (err, reply) {
21 | console.log(reply.toString());
22 | client.quit();
23 | });
24 | }
25 |
26 | setTimeout(function () {
27 | console.log("Taking snapshot.");
28 | var snap = profiler.takeSnapshot();
29 | }, 5000);
30 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/lib/to_array.js:
--------------------------------------------------------------------------------
1 | function to_array(args) {
2 | var len = args.length,
3 | arr = new Array(len), i;
4 |
5 | for (i = 0; i < len; i += 1) {
6 | arr[i] = args[i];
7 | }
8 |
9 | return arr;
10 | }
11 |
12 | module.exports = to_array;
13 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/lib/util.js:
--------------------------------------------------------------------------------
1 | if (process.versions.node.match(/^0.3/)) {
2 | exports.util = require("util");
3 | } else {
4 | // This module is called "sys" in 0.2.x
5 | exports.util = require("sys");
6 | }
7 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/simple_test.js:
--------------------------------------------------------------------------------
1 | var client = require("./index").createClient();
2 |
3 | client.hmset("test hash", "key 1", "val 1", "key 2", "val 2");
4 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/tests/reconnect_test.js:
--------------------------------------------------------------------------------
1 | var redis = require("redis").createClient();
2 |
3 | redis.on("error", function (err) {
4 | console.log("Redis says: " + err);
5 | });
6 |
7 | redis.on("ready", function () {
8 | console.log("Redis ready.");
9 | });
10 |
11 | redis.on("reconnecting", function (arg) {
12 | console.log("Redis reconnecting: " + JSON.stringify(arg));
13 | });
14 | redis.on("connect", function () {
15 | console.log("Redis connected.");
16 | });
17 |
18 | setInterval(function () {
19 | var now = Date.now();
20 | redis.set("now", now, function (err, res) {
21 | if (err) {
22 | console.log(now + " Redis reply error: " + err);
23 | } else {
24 | console.log(now + " Redis reply: " + res);
25 | }
26 | });
27 | }, 200);
28 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/tests/stress/codec.js:
--------------------------------------------------------------------------------
1 | var json = {
2 | encode: JSON.stringify,
3 | decode: JSON.parse
4 | };
5 |
6 | var MsgPack = require('node-msgpack');
7 | msgpack = {
8 | encode: MsgPack.pack,
9 | decode: function(str) { return MsgPack.unpack(new Buffer(str)); }
10 | };
11 |
12 | bison = require('bison');
13 |
14 | module.exports = json;
15 | //module.exports = msgpack;
16 | //module.exports = bison;
17 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/tests/stress/pubsub/pub.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var freemem = require('os').freemem;
4 | var profiler = require('v8-profiler');
5 | var codec = require('../codec');
6 |
7 | var sent = 0;
8 |
9 | var pub = require('redis').createClient(null, null, {
10 | //command_queue_high_water: 5,
11 | //command_queue_low_water: 1
12 | })
13 | .on('ready', function() {
14 | this.emit('drain');
15 | })
16 | .on('drain', function() {
17 | process.nextTick(exec);
18 | });
19 |
20 | var payload = '1'; for (var i = 0; i < 12; ++i) payload += payload;
21 | console.log('Message payload length', payload.length);
22 |
23 | function exec() {
24 | pub.publish('timeline', codec.encode({ foo: payload }));
25 | ++sent;
26 | if (!pub.should_buffer) {
27 | process.nextTick(exec);
28 | }
29 | }
30 |
31 | profiler.takeSnapshot('s_0');
32 |
33 | exec();
34 |
35 | setInterval(function() {
36 | profiler.takeSnapshot('s_' + sent);
37 | console.error('sent', sent, 'free', freemem(), 'cmdqlen', pub.command_queue.length, 'offqlen', pub.offline_queue.length);
38 | }, 2000);
39 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/tests/stress/pubsub/run:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | node server.js &
3 | node server.js &
4 | node server.js &
5 | node server.js &
6 | node server.js &
7 | node server.js &
8 | node server.js &
9 | node server.js &
10 | node --debug pub.js
11 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/tests/stress/pubsub/server.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var freemem = require('os').freemem;
4 | var codec = require('../codec');
5 |
6 | var id = Math.random();
7 | var recv = 0;
8 |
9 | var sub = require('redis').createClient()
10 | .on('ready', function() {
11 | this.subscribe('timeline');
12 | })
13 | .on('message', function(channel, message) {
14 | var self = this;
15 | if (message) {
16 | message = codec.decode(message);
17 | ++recv;
18 | }
19 | });
20 |
21 | setInterval(function() {
22 | console.error('id', id, 'received', recv, 'free', freemem());
23 | }, 2000);
24 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/tests/stress/rpushblpop/run:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | node server.js &
3 | #node server.js &
4 | #node server.js &
5 | #node server.js &
6 | node --debug pub.js
7 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/tests/stress/rpushblpop/server.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var freemem = require('os').freemem;
4 | var codec = require('../codec');
5 |
6 | var id = Math.random();
7 | var recv = 0;
8 |
9 | var cmd = require('redis').createClient();
10 | var sub = require('redis').createClient()
11 | .on('ready', function() {
12 | this.emit('timeline');
13 | })
14 | .on('timeline', function() {
15 | var self = this;
16 | this.blpop('timeline', 0, function(err, result) {
17 | var message = result[1];
18 | if (message) {
19 | message = codec.decode(message);
20 | ++recv;
21 | }
22 | self.emit('timeline');
23 | });
24 | });
25 |
26 | setInterval(function() {
27 | cmd.llen('timeline', function(err, result) {
28 | console.error('id', id, 'received', recv, 'free', freemem(), 'llen', result);
29 | });
30 | }, 2000);
31 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/tests/stress/speed/00:
--------------------------------------------------------------------------------
1 | # size JSON msgpack bison
2 | 26602 2151.0170848180414
3 | 25542 ? 2842.589272665782
4 | 24835 ? ? 7280.4538397469805
5 | 6104 6985.234528557929
6 | 5045 ? 7217.461392841478
7 | 4341 ? ? 14261.406335354604
8 | 4180 15864.633685636572
9 | 4143 ? 12954.806235781925
10 | 4141 ? ? 44650.70733912719
11 | 75 114227.07313350472
12 | 40 ? 30162.440062810834
13 | 39 ? ? 119815.66013519121
14 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/tests/stress/speed/plot:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | gnuplot >size-rate.jpg << _EOF_
4 |
5 | set terminal png nocrop enhanced font verdana 12 size 640,480
6 | set logscale x
7 | set logscale y
8 | set grid
9 | set xlabel 'Serialized object size, octets'
10 | set ylabel 'decode(encode(obj)) rate, 1/sec'
11 | plot '00' using 1:2 title 'json' smooth bezier, '00' using 1:3 title 'msgpack' smooth bezier, '00' using 1:4 title 'bison' smooth bezier
12 |
13 | _EOF_
14 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/tests/stress/speed/size-rate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/tests/stress/speed/size-rate.png
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/tests/sub_quit_test.js:
--------------------------------------------------------------------------------
1 | var client = require("redis").createClient(),
2 | client2 = require("redis").createClient();
3 |
4 | client.subscribe("something");
5 | client.on("subscribe", function (channel, count) {
6 | console.log("Got sub: " + channel);
7 | client.unsubscribe("something");
8 | });
9 |
10 | client.on("unsubscribe", function (channel, count) {
11 | console.log("Got unsub: " + channel + ", quitting");
12 | client.quit();
13 | });
14 |
15 | // exercise unsub before sub
16 | client2.unsubscribe("something");
17 | client2.subscribe("another thing");
18 | client2.quit();
19 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/redis/tests/test_start_stop.js:
--------------------------------------------------------------------------------
1 | var redis = require("./index"),
2 | client = redis.createClient();
3 |
4 | // This currently doesn't work, due to what I beleive to be a bug in redis 2.0.1.
5 | // INFO and QUIT are pipelined together, and the socket closes before the INFO
6 | // command gets a reply.
7 |
8 | redis.debug_mode = true;
9 | client.info(redis.print);
10 | client.quit();
11 |
12 | // A workaround is:
13 | // client.info(function (err, res) {
14 | // console.log(res.toString());
15 | // client.quit();
16 | // });
17 |
18 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/.npmignore:
--------------------------------------------------------------------------------
1 | test/node_modules
2 | support
3 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/Makefile:
--------------------------------------------------------------------------------
1 |
2 | ALL_TESTS = $(shell find test/ -name '*.test.js')
3 |
4 | run-tests:
5 | @./node_modules/.bin/expresso \
6 | -I lib \
7 | -I support \
8 | --serial \
9 | $(TESTS)
10 |
11 | test:
12 | @$(MAKE) TESTS="$(ALL_TESTS)" run-tests
13 |
14 | test-acceptance:
15 | @node support/test-runner/app $(TRANSPORT)
16 |
17 | build:
18 | @node ./bin/builder.js
19 |
20 | .PHONY: test
21 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/dist/WebSocketMain.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/dist/WebSocketMain.swf
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/dist/WebSocketMainInsecure.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/dist/WebSocketMainInsecure.swf
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/socket.io-client.js:
--------------------------------------------------------------------------------
1 | io.js
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/.npmignore:
--------------------------------------------------------------------------------
1 | test.html
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/WebSocketMain.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/WebSocketMain.swf
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/WebSocketMainInsecure.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/WebSocketMainInsecure.zip
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/IWebSocketLogger.as:
--------------------------------------------------------------------------------
1 | package {
2 |
3 | public interface IWebSocketLogger {
4 | function log(message:String):void;
5 | function error(message:String):void;
6 | }
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketEvent.as:
--------------------------------------------------------------------------------
1 | package {
2 |
3 | import flash.events.Event;
4 |
5 | /**
6 | * This class represents a generic websocket event. It contains the standard "type"
7 | * parameter as well as a "message" parameter.
8 | */
9 | public class WebSocketEvent extends Event {
10 |
11 | public static const OPEN:String = "open";
12 | public static const CLOSE:String = "close";
13 | public static const MESSAGE:String = "message";
14 | public static const ERROR:String = "error";
15 |
16 | public var message:String;
17 |
18 | public function WebSocketEvent(
19 | type:String, message:String = null, bubbles:Boolean = false, cancelable:Boolean = false) {
20 | super(type, bubbles, cancelable);
21 | this.message = message;
22 | }
23 |
24 | public override function clone():Event {
25 | return new WebSocketEvent(this.type, this.message, this.bubbles, this.cancelable);
26 | }
27 |
28 | public override function toString():String {
29 | return "WebSocketEvent: " + this.type + ": " + this.message;
30 | }
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketMainInsecure.as:
--------------------------------------------------------------------------------
1 | // Copyright: Hiroshi Ichikawa
2 | // License: New BSD License
3 | // Reference: http://dev.w3.org/html5/websockets/
4 | // Reference: http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-76
5 |
6 | package {
7 |
8 | import flash.system.*;
9 |
10 | public class WebSocketMainInsecure extends WebSocketMain {
11 |
12 | public function WebSocketMainInsecure() {
13 | Security.allowDomain("*");
14 | super();
15 | }
16 |
17 | }
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # You need Flex 4 SDK:
4 | # http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4
5 |
6 | mxmlc -static-link-runtime-shared-libraries -target-player=10.0.0 -output=../WebSocketMain.swf WebSocketMain.as &&
7 | mxmlc -static-link-runtime-shared-libraries -output=../WebSocketMainInsecure.swf WebSocketMainInsecure.as &&
8 | cd .. &&
9 | zip WebSocketMainInsecure.zip WebSocketMainInsecure.swf &&
10 | rm WebSocketMainInsecure.swf
11 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHMAC.as:
--------------------------------------------------------------------------------
1 | /**
2 | * HMAC
3 | *
4 | * An ActionScript 3 interface for HMAC & MAC
5 | * implementations.
6 | *
7 | * Loosely copyrighted by Bobby Parker
8 | *
9 | * See LICENSE.txt for full license information.
10 | */
11 | package com.hurlant.crypto.hash
12 | {
13 | import flash.utils.ByteArray;
14 |
15 | public interface IHMAC
16 | {
17 | function getHashSize():uint;
18 | /**
19 | * Compute a HMAC using a key and some data.
20 | * It doesn't modify either, and returns a new ByteArray with the HMAC value.
21 | */
22 | function compute(key:ByteArray, data:ByteArray):ByteArray;
23 | function dispose():void;
24 | function toString():String;
25 |
26 | }
27 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHash.as:
--------------------------------------------------------------------------------
1 | /**
2 | * IHash
3 | *
4 | * An interface for each hash function to implement
5 | * Copyright (c) 2007 Henri Torgemane
6 | *
7 | * See LICENSE.txt for full license information.
8 | */
9 | package com.hurlant.crypto.hash
10 | {
11 | import flash.utils.ByteArray;
12 |
13 | public interface IHash
14 | {
15 | function getInputSize():uint;
16 | function getHashSize():uint;
17 | function hash(src:ByteArray):ByteArray;
18 | function toString():String;
19 | function getPadSize():int;
20 | }
21 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA224.as:
--------------------------------------------------------------------------------
1 | /**
2 | * SHA224
3 | *
4 | * An ActionScript 3 implementation of Secure Hash Algorithm, SHA-224, as defined
5 | * in FIPS PUB 180-2
6 | * Copyright (c) 2007 Henri Torgemane
7 | *
8 | * See LICENSE.txt for full license information.
9 | */
10 | package com.hurlant.crypto.hash
11 | {
12 | public class SHA224 extends SHA256
13 | {
14 | function SHA224() {
15 | h = [
16 | 0xc1059ed8, 0x367cd507, 0x3070dd17, 0xf70e5939,
17 | 0xffc00b31, 0x68581511, 0x64f98fa7, 0xbefa4fa4
18 | ];
19 | }
20 |
21 | public override function getHashSize():uint {
22 | return 28;
23 | }
24 | public override function toString():String {
25 | return "sha224";
26 | }
27 | }
28 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/IPRNG.as:
--------------------------------------------------------------------------------
1 | /**
2 | * IPRNG
3 | *
4 | * An interface for classes that can be used a pseudo-random number generators
5 | * Copyright (c) 2007 Henri Torgemane
6 | *
7 | * See LICENSE.txt for full license information.
8 | */
9 | package com.hurlant.crypto.prng
10 | {
11 | import flash.utils.ByteArray;
12 |
13 | public interface IPRNG {
14 | function getPoolSize():uint;
15 | function init(key:ByteArray):void;
16 | function next():uint;
17 | function dispose():void;
18 | function toString():String;
19 | }
20 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ICipher.as:
--------------------------------------------------------------------------------
1 | /**
2 | * ICipher
3 | *
4 | * A generic interface to use symmetric ciphers
5 | * Copyright (c) 2007 Henri Torgemane
6 | *
7 | * See LICENSE.txt for full license information.
8 | */
9 | package com.hurlant.crypto.symmetric
10 | {
11 | import flash.utils.ByteArray;
12 |
13 | public interface ICipher
14 | {
15 | function getBlockSize():uint;
16 | function encrypt(src:ByteArray):void;
17 | function decrypt(src:ByteArray):void;
18 | function dispose():void;
19 | function toString():String;
20 | }
21 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IMode.as:
--------------------------------------------------------------------------------
1 | /**
2 | * IMode
3 | *
4 | * An interface for confidentiality modes to implement
5 | * This could become deprecated at some point.
6 | * Copyright (c) 2007 Henri Torgemane
7 | *
8 | * See LICENSE.txt for full license information.
9 | */
10 | package com.hurlant.crypto.symmetric
11 | {
12 | public interface IMode extends ICipher
13 | {
14 | }
15 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IPad.as:
--------------------------------------------------------------------------------
1 | /**
2 | * IPad
3 | *
4 | * An interface for padding mechanisms to implement.
5 | * Copyright (c) 2007 Henri Torgemane
6 | *
7 | * See LICENSE.txt for full license information.
8 | */
9 | package com.hurlant.crypto.symmetric
10 | {
11 | import flash.utils.ByteArray;
12 |
13 | /**
14 | * Tiny interface that represents a padding mechanism.
15 | */
16 | public interface IPad
17 | {
18 | /**
19 | * Add padding to the array
20 | */
21 | function pad(a:ByteArray):void;
22 | /**
23 | * Remove padding from the array.
24 | * @throws Error if the padding is invalid.
25 | */
26 | function unpad(a:ByteArray):void;
27 | /**
28 | * Set the blockSize to work on
29 | */
30 | function setBlockSize(bs:uint):void;
31 | }
32 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IStreamCipher.as:
--------------------------------------------------------------------------------
1 | /**
2 | * IStreamCipher
3 | *
4 | * A "marker" interface for stream ciphers.
5 | * Copyright (c) 2007 Henri Torgemane
6 | *
7 | * See LICENSE.txt for full license information.
8 | */
9 | package com.hurlant.crypto.symmetric {
10 |
11 | /**
12 | * A marker to indicate how this cipher works.
13 | * A stream cipher:
14 | * - does not use initialization vector
15 | * - keeps some internal state between calls to encrypt() and decrypt()
16 | *
17 | */
18 | public interface IStreamCipher extends ICipher {
19 |
20 | }
21 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/NullPad.as:
--------------------------------------------------------------------------------
1 | /**
2 | * NullPad
3 | *
4 | * A padding class that doesn't pad.
5 | * Copyright (c) 2007 Henri Torgemane
6 | *
7 | * See LICENSE.txt for full license information.
8 | */
9 | package com.hurlant.crypto.symmetric
10 | {
11 | import flash.utils.ByteArray;
12 |
13 | /**
14 | * A pad that does nothing.
15 | * Useful when you don't want padding in your Mode.
16 | */
17 | public class NullPad implements IPad
18 | {
19 | public function unpad(a:ByteArray):void
20 | {
21 | return;
22 | }
23 |
24 | public function pad(a:ByteArray):void
25 | {
26 | return;
27 | }
28 |
29 | public function setBlockSize(bs:uint):void {
30 | return;
31 | }
32 |
33 | }
34 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/aeskey.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/perl
2 | use strict;
3 | use warnings;
4 |
5 | sub say {
6 | my $w = shift;
7 | print $w;
8 | print "\n";
9 | }
10 |
11 | sub dump {
12 | my $i = shift;
13 | &say(sprintf("Sbox[%d] = _Sbox[%d]", $i, $i));
14 | &say(sprintf("InvSbox[%d] = _InvSbox[%d]", $i, $i));
15 | &say(sprintf("Xtime2Sbox[%d] = _Xtime2Sbox[%d]", $i, $i));
16 | &say(sprintf("Xtime3Sbox[%d] = _Xtime3Sbox[%d]", $i, $i));
17 | &say(sprintf("Xtime2[%d] = _Xtime2[%d]", $i, $i));
18 | &say(sprintf("Xtime9[%d] = _Xtime9[%d]", $i, $i));
19 | &say(sprintf("XtimeB[%d] = _XtimeB[%d]", $i, $i));
20 | &say(sprintf("XtimeD[%d] = _XtimeD[%d]", $i, $i));
21 | &say(sprintf("XtimeE[%d] = _XtimeE[%d]", $i, $i));
22 | }
23 |
24 | for (my $i=0;$i<256;$i++) {
25 | &dump($i);
26 | }
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ITestHarness.as:
--------------------------------------------------------------------------------
1 | /**
2 | * ITestHarness
3 | *
4 | * An interface to specify what's available for test cases to use.
5 | * Copyright (c) 2007 Henri Torgemane
6 | *
7 | * See LICENSE.txt for full license information.
8 | */
9 | package com.hurlant.crypto.tests
10 | {
11 | public interface ITestHarness
12 | {
13 | function beginTestCase(name:String):void;
14 | function endTestCase():void;
15 |
16 | function beginTest(name:String):void;
17 | function passTest():void;
18 | function failTest(msg:String):void;
19 | }
20 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TestCase.as:
--------------------------------------------------------------------------------
1 | /**
2 | * TestCase
3 | *
4 | * Embryonic unit test support class.
5 | * Copyright (c) 2007 Henri Torgemane
6 | *
7 | * See LICENSE.txt for full license information.
8 | */
9 | package com.hurlant.crypto.tests
10 | {
11 | public class TestCase
12 | {
13 | public var harness:ITestHarness;
14 |
15 | public function TestCase(h:ITestHarness, title:String) {
16 | harness = h;
17 | harness.beginTestCase(title);
18 | }
19 |
20 |
21 | public function assert(msg:String, value:Boolean):void {
22 | if (value) {
23 | // TestHarness.print("+ ",msg);
24 | return;
25 | }
26 | throw new Error("Test Failure:"+msg);
27 | }
28 |
29 | public function runTest(f:Function, title:String):void {
30 | harness.beginTest(title);
31 | try {
32 | f();
33 | } catch (e:Error) {
34 | trace("EXCEPTION THROWN: "+e);
35 | trace(e.getStackTrace());
36 | harness.failTest(e.toString());
37 | return;
38 | }
39 | harness.passTest();
40 | }
41 | }
42 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/IConnectionState.as:
--------------------------------------------------------------------------------
1 | /**
2 | * IConnectionState
3 | *
4 | * Interface for TLS/SSL Connection states.
5 | *
6 | * See LICENSE.txt for full license information.
7 | */
8 | package com.hurlant.crypto.tls {
9 | import flash.utils.ByteArray;
10 | public interface IConnectionState {
11 | function decrypt(type:uint, length:uint, p:ByteArray) : ByteArray;
12 | function encrypt(type:uint, p:ByteArray) : ByteArray;
13 | }
14 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/KeyExchanges.as:
--------------------------------------------------------------------------------
1 | /**
2 | * KeyExchanges
3 | *
4 | * An enumeration of key exchange methods defined by TLS
5 | * ( right now, only RSA is actually implemented )
6 | * Copyright (c) 2007 Henri Torgemane
7 | *
8 | * See LICENSE.txt for full license information.
9 | */
10 | package com.hurlant.crypto.tls {
11 | public class KeyExchanges {
12 | public static const NULL:uint = 0;
13 | public static const RSA:uint = 1;
14 | public static const DH_DSS:uint = 2;
15 | public static const DH_RSA:uint = 3;
16 | public static const DHE_DSS:uint = 4;
17 | public static const DHE_RSA:uint = 5;
18 | public static const DH_anon:uint = 6;
19 |
20 | public static function useRSA(p:uint):Boolean {
21 | return (p==RSA);
22 | }
23 | }
24 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLEvent.as:
--------------------------------------------------------------------------------
1 | /**
2 | * SSLEvent
3 | *
4 | * This is used by TLSEngine to let the application layer know
5 | * when we're ready for sending, or have received application data
6 | * This Event was created by Bobby Parker to support SSL 3.0.
7 | *
8 | * See LICENSE.txt for full license information.
9 | */
10 | package com.hurlant.crypto.tls {
11 | import flash.events.Event;
12 | import flash.utils.ByteArray;
13 |
14 | public class SSLEvent extends Event {
15 |
16 | static public const DATA:String = "data";
17 | static public const READY:String = "ready";
18 |
19 | public var data:ByteArray;
20 |
21 | public function SSLEvent(type:String, data:ByteArray = null) {
22 | this.data = data;
23 | super(type, false, false);
24 | }
25 | }
26 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEvent.as:
--------------------------------------------------------------------------------
1 | /**
2 | * TLSEvent
3 | *
4 | * This is used by TLSEngine to let the application layer know
5 | * when we're ready for sending, or have received application data
6 | * Copyright (c) 2007 Henri Torgemane
7 | *
8 | * See LICENSE.txt for full license information.
9 | */
10 | package com.hurlant.crypto.tls {
11 | import flash.events.Event;
12 | import flash.utils.ByteArray;
13 |
14 | public class TLSEvent extends Event {
15 |
16 | static public const DATA:String = "data";
17 | static public const READY:String = "ready";
18 | static public const PROMPT_ACCEPT_CERT:String = "promptAcceptCert";
19 |
20 | public var data:ByteArray;
21 |
22 | public function TLSEvent(type:String, data:ByteArray = null) {
23 | this.data = data;
24 | super(type, false, false);
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocketEvent.as:
--------------------------------------------------------------------------------
1 | /**
2 | * TLSEvent
3 | *
4 | * This is used by TLSEngine to let the application layer know
5 | * when we're ready for sending, or have received application data
6 | * Copyright (c) 2007 Henri Torgemane
7 | *
8 | * See LICENSE.txt for full license information.
9 | */
10 | package com.hurlant.crypto.tls {
11 | import flash.events.Event;
12 | import flash.utils.ByteArray;
13 | import com.hurlant.crypto.cert.X509Certificate;
14 |
15 | public class TLSSocketEvent extends Event {
16 |
17 | static public const PROMPT_ACCEPT_CERT:String = "promptAcceptCert";
18 |
19 | public var cert:X509Certificate;
20 |
21 | public function TLSSocketEvent( cert:X509Certificate = null) {
22 | super(PROMPT_ACCEPT_CERT, false, false);
23 | this.cert = cert;
24 | }
25 | }
26 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/ClassicReduction.as:
--------------------------------------------------------------------------------
1 | package com.hurlant.math
2 | {
3 | use namespace bi_internal;
4 |
5 | /**
6 | * Modular reduction using "classic" algorithm
7 | */
8 | internal class ClassicReduction implements IReduction
9 | {
10 | private var m:BigInteger;
11 | public function ClassicReduction(m:BigInteger) {
12 | this.m = m;
13 | }
14 | public function convert(x:BigInteger):BigInteger {
15 | if (x.s<0 || x.compareTo(m)>=0) {
16 | return x.mod(m);
17 | }
18 | return x;
19 | }
20 | public function revert(x:BigInteger):BigInteger {
21 | return x;
22 | }
23 | public function reduce(x:BigInteger):void {
24 | x.divRemTo(m, null,x);
25 | }
26 | public function mulTo(x:BigInteger, y:BigInteger, r:BigInteger):void {
27 | x.multiplyTo(y,r);
28 | reduce(r);
29 | }
30 | public function sqrTo(x:BigInteger, r:BigInteger):void {
31 | x.squareTo(r);
32 | reduce(r);
33 | }
34 | }
35 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/IReduction.as:
--------------------------------------------------------------------------------
1 | package com.hurlant.math
2 | {
3 | internal interface IReduction
4 | {
5 | function convert(x:BigInteger):BigInteger;
6 | function revert(x:BigInteger):BigInteger;
7 | function reduce(x:BigInteger):void;
8 | function mulTo(x:BigInteger, y:BigInteger, r:BigInteger):void;
9 | function sqrTo(x:BigInteger, r:BigInteger):void;
10 | }
11 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/NullReduction.as:
--------------------------------------------------------------------------------
1 | package com.hurlant.math
2 | {
3 | use namespace bi_internal;
4 | /**
5 | * A "null" reducer
6 | */
7 | public class NullReduction implements IReduction
8 | {
9 | public function revert(x:BigInteger):BigInteger
10 | {
11 | return x;
12 | }
13 |
14 | public function mulTo(x:BigInteger, y:BigInteger, r:BigInteger):void
15 | {
16 | x.multiplyTo(y,r);
17 | }
18 |
19 | public function sqrTo(x:BigInteger, r:BigInteger):void
20 | {
21 | x.squareTo(r);
22 | }
23 |
24 | public function convert(x:BigInteger):BigInteger
25 | {
26 | return x;
27 | }
28 |
29 | public function reduce(x:BigInteger):void
30 | {
31 | }
32 |
33 | }
34 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/bi_internal.as:
--------------------------------------------------------------------------------
1 | /**
2 | * bi_internal
3 | *
4 | * A namespace. w00t.
5 | * Copyright (c) 2007 Henri Torgemane
6 | *
7 | * See LICENSE.txt for full license information.
8 | */
9 | package com.hurlant.math {
10 | public namespace bi_internal = "http://crypto.hurlant.com/BigInteger";
11 | }
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/ArrayUtil.as:
--------------------------------------------------------------------------------
1 | /**
2 | * ArrayUtil
3 | *
4 | * A class that allows to compare two ByteArrays.
5 | * Copyright (c) 2007 Henri Torgemane
6 | *
7 | * See LICENSE.txt for full license information.
8 | */
9 | package com.hurlant.util {
10 | import flash.utils.ByteArray;
11 |
12 |
13 | public class ArrayUtil {
14 |
15 | public static function equals(a1:ByteArray, a2:ByteArray):Boolean {
16 | if (a1.length != a2.length) return false;
17 | var l:int = a1.length;
18 | for (var i:int=0;i foo+""
14 | return [ "binary", "+", expr[1], [ "string", "" ]];
15 | }
16 | }
17 | }, function() {
18 | return walk(ast);
19 | });
20 | };
21 |
22 | exports.ast_squeeze_more = ast_squeeze_more;
23 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "uglify-js",
3 | "author": {
4 | "name": "Mihai Bazon",
5 | "email": "mihai.bazon@gmail.com",
6 | "url": "http://mihai.bazon.net/blog"
7 | },
8 | "version": "1.0.6",
9 | "main": "./uglify-js.js",
10 | "bin": {
11 | "uglifyjs": "./bin/uglifyjs"
12 | },
13 | "repository": {
14 | "type": "git",
15 | "url": "git@github.com:mishoo/UglifyJS.git"
16 | },
17 | "_id": "uglify-js@1.0.6",
18 | "dependencies": {},
19 | "devDependencies": {},
20 | "optionalDependencies": {},
21 | "engines": {
22 | "node": "*"
23 | },
24 | "_engineSupported": true,
25 | "_npmVersion": "1.1.9",
26 | "_nodeVersion": "v0.6.13",
27 | "_defaultsLoaded": true,
28 | "dist": {
29 | "shasum": "6aaf41126b7f2e1f2a28e69373be4e41761a3813"
30 | },
31 | "_from": "uglify-js@1.0.6"
32 | }
33 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/array1.js:
--------------------------------------------------------------------------------
1 | [],Array(1),[1,2,3]
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/array2.js:
--------------------------------------------------------------------------------
1 | (function(){var a=function(){};return new a(1,2,3,4)})()
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/array3.js:
--------------------------------------------------------------------------------
1 | (function(){function a(){}return new a(1,2,3,4)})()
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/array4.js:
--------------------------------------------------------------------------------
1 | (function(){function a(){}(function(){return new a(1,2,3)})()})()
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/assignment.js:
--------------------------------------------------------------------------------
1 | a=1,b=a,c=1,d=b,e=d,longname=2;if(longname+1){x=3;if(x)var z=7}z=1,y=1,x=1,g+=1,h=g,++i,j=i,i++,j=i+17
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/concatstring.js:
--------------------------------------------------------------------------------
1 | var a=a+"a"+"b"+1+c,b=a+"c"+"ds"+123+c,c=a+"c"+123+d+"ds"+c
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/const.js:
--------------------------------------------------------------------------------
1 | var a=13,b=1/3
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/empty-blocks.js:
--------------------------------------------------------------------------------
1 | function mak(){for(;;);}function foo(){while(bar());}function bar(){return--x}var x=5
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/forstatement.js:
--------------------------------------------------------------------------------
1 | a=func(),b=z;for(a++;i<10;i++)alert(i);var z=1;g=2;for(;i<10;i++)alert(i);var a=2;for(var i=1;i<10;i++)alert(i)
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/if.js:
--------------------------------------------------------------------------------
1 | var a=1;a==1?a=2:a=17
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/ifreturn.js:
--------------------------------------------------------------------------------
1 | function a(a){return a==1?2:17}
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/ifreturn2.js:
--------------------------------------------------------------------------------
1 | function y(a){return typeof a=="object"?a:null}function x(a){return typeof a=="object"?a:a===42?0:a*2}
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue10.js:
--------------------------------------------------------------------------------
1 | function f(){var a;return(a="a")?a:a}f()
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue11.js:
--------------------------------------------------------------------------------
1 | new(A,B),new(A||B),new(X?A:B)
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue13.js:
--------------------------------------------------------------------------------
1 | var a=/^(?:(\w+):)?(?:\/\/(?:(?:([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#])(?::(\d))?)?(..?$|(?:[^?#\/]\/))([^?#]*)(?:\?([^#]))?(?:#(.))?/
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue14.js:
--------------------------------------------------------------------------------
1 | var a={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"}
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue16.js:
--------------------------------------------------------------------------------
1 | var a=3250441966
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue17.js:
--------------------------------------------------------------------------------
1 | var a=function(b){b(),a()}
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue20.js:
--------------------------------------------------------------------------------
1 | a:1
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue21.js:
--------------------------------------------------------------------------------
1 | var a=0;switch(a){case 0:a++}
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue25.js:
--------------------------------------------------------------------------------
1 | label1:{label2:break label2;console.log(1)}
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue27.js:
--------------------------------------------------------------------------------
1 | (a?b:c)?d:e
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue28.js:
--------------------------------------------------------------------------------
1 | o={".5":.5},o={.5:.5},o={.5:.5}
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue29.js:
--------------------------------------------------------------------------------
1 | result=function(){return 1}()
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue30.js:
--------------------------------------------------------------------------------
1 | var a=8,b=4,c=4
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue34.js:
--------------------------------------------------------------------------------
1 | var a={};a["this"]=1,a.that=2
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue4.js:
--------------------------------------------------------------------------------
1 | var a=2e3,b=.002,c=2e-5
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue48.js:
--------------------------------------------------------------------------------
1 | var s,i;s="",i=0
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue50.js:
--------------------------------------------------------------------------------
1 | function bar(a){try{foo()}catch(b){alert("Exception caught (foo not defined)")}alert(a)}bar(10)
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue53.js:
--------------------------------------------------------------------------------
1 | x=(y,z)
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue54.1.js:
--------------------------------------------------------------------------------
1 | foo+"",a.toString(16),b.toString.call(c)
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue68.js:
--------------------------------------------------------------------------------
1 | function f(){function b(){}a||b()}
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue69.js:
--------------------------------------------------------------------------------
1 | [(a,b)]
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue9.js:
--------------------------------------------------------------------------------
1 | var a={a:1,b:2}
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/mangle.js:
--------------------------------------------------------------------------------
1 | (function(){var a=function b(a,b,c){return b}})()
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/strict-equals.js:
--------------------------------------------------------------------------------
1 | typeof a=="string",b+""!=c+"",d> 1;
3 | var c = 8 >>> 1;
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue34.js:
--------------------------------------------------------------------------------
1 | var a = {};
2 | a["this"] = 1;
3 | a["that"] = 2;
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue4.js:
--------------------------------------------------------------------------------
1 | var a = 2e3;
2 | var b = 2e-3;
3 | var c = 2e-5;
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue48.js:
--------------------------------------------------------------------------------
1 | var s, i; s = ''; i = 0;
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue50.js:
--------------------------------------------------------------------------------
1 | function bar(a) {
2 | try {
3 | foo();
4 | } catch(e) {
5 | alert("Exception caught (foo not defined)");
6 | }
7 | alert(a); // 10 in FF, "[object Error]" in IE
8 | }
9 | bar(10);
10 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue53.js:
--------------------------------------------------------------------------------
1 | x = (y, z)
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue54.1.js:
--------------------------------------------------------------------------------
1 | foo.toString();
2 | a.toString(16);
3 | b.toString.call(c);
4 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue68.js:
--------------------------------------------------------------------------------
1 | function f() {
2 | if (a) return;
3 | g();
4 | function g(){}
5 | };
6 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue69.js:
--------------------------------------------------------------------------------
1 | [(a,b)]
2 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue9.js:
--------------------------------------------------------------------------------
1 | var a = {
2 | a: 1,
3 | b: 2, // <-- trailing comma
4 | };
5 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/mangle.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var x = function fun(a, fun, b) {
3 | return fun;
4 | };
5 | }());
6 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/strict-equals.js:
--------------------------------------------------------------------------------
1 | typeof a === 'string'
2 | b + "" !== c + ""
3 | d < e === f < g
4 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/var.js:
--------------------------------------------------------------------------------
1 | // var declarations after each other should be combined
2 | var a = 1;
3 | var b = 2;
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/with.js:
--------------------------------------------------------------------------------
1 | with({}) {
2 | };
3 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/uglify-js.js:
--------------------------------------------------------------------------------
1 | //convienence function(src, [options]);
2 | function uglify(orig_code, options){
3 | options || (options = {});
4 | var jsp = uglify.parser;
5 | var pro = uglify.uglify;
6 |
7 | var ast = jsp.parse(orig_code, options.strict_semicolons); // parse code and get the initial AST
8 | ast = pro.ast_mangle(ast, options.mangle_options); // get a new AST with mangled names
9 | ast = pro.ast_squeeze(ast, options.squeeze_options); // get an AST with compression optimizations
10 | var final_code = pro.gen_code(ast, options.gen_options); // compressed code here
11 | return final_code;
12 | };
13 |
14 | uglify.parser = require("./lib/parse-js");
15 | uglify.uglify = require("./lib/process");
16 |
17 | module.exports = uglify
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/websocket-client/Makefile:
--------------------------------------------------------------------------------
1 | # This makefile exists to help run tests.
2 | #
3 | # If TEST_UNIX is a non-empty value, runs tests for UNIX sockets. This
4 | # functionality is not in node-websocket-server at the moment.
5 |
6 | .PHONY: test
7 |
8 | all: test test-unix
9 |
10 | test:
11 | for f in `ls -1 test/test-*.js | grep -v unix` ; do \
12 | echo $$f ; \
13 | node $$f ; \
14 | done
15 |
16 | test-unix:
17 | if [[ -n "$$TEST_UNIX" ]] ; then \
18 | for f in `ls -1 test/test-*.js | grep unix` ; do \
19 | echo $$f ; \
20 | node $$f ; \
21 | done \
22 | fi
23 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/websocket-client/examples/client-unix.js:
--------------------------------------------------------------------------------
1 | var sys = require('sys');
2 | var WebSocket = require('../lib/websocket').WebSocket;
3 |
4 | var ws = new WebSocket('ws+unix://' + process.argv[2], 'boffo');
5 |
6 | ws.addListener('message', function(d) {
7 | sys.debug('Received message: ' + d.toString('utf8'));
8 | });
9 |
10 | ws.addListener('open', function() {
11 | ws.send('This is a message', 1);
12 | });
13 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/websocket-client/examples/client.js:
--------------------------------------------------------------------------------
1 | var sys = require('sys');
2 | var WebSocket = require('../lib/websocket').WebSocket;
3 |
4 | var ws = new WebSocket('ws://localhost:8000/biff', 'borf');
5 | ws.addListener('data', function(buf) {
6 | sys.debug('Got data: ' + sys.inspect(buf));
7 | });
8 | ws.onmessage = function(m) {
9 | sys.debug('Got message: ' + m);
10 | }
11 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/websocket-client/examples/server-unix.js:
--------------------------------------------------------------------------------
1 | var sys = require('sys');
2 | var ws = require('websocket-server/ws');
3 |
4 | var srv = ws.createServer({ debug : true});
5 | srv.addListener('connection', function(s) {
6 | sys.debug('Got a connection!');
7 |
8 | s._req.socket.addListener('fd', function(fd) {
9 | sys.debug('Got an fd: ' + fd);
10 | });
11 | });
12 |
13 | srv.listen(process.argv[2]);
14 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/websocket-client/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "websocket-client",
3 | "version": "1.0.0",
4 | "description": "An HTML5 Web Sockets client",
5 | "author": {
6 | "name": "Peter Griess",
7 | "email": "pg@std.in"
8 | },
9 | "engines": {
10 | "node": ">=0.1.98"
11 | },
12 | "repositories": [
13 | {
14 | "type": "git",
15 | "url": "http://github.com/pgriess/node-websocket-client.git"
16 | }
17 | ],
18 | "licenses": [
19 | {
20 | "type": "BSD",
21 | "url": "http://github.com/pgriess/node-websocket-client/blob/master/LICENSE"
22 | }
23 | ],
24 | "main": "./lib/websocket",
25 | "_id": "websocket-client@1.0.0",
26 | "dependencies": {},
27 | "devDependencies": {},
28 | "optionalDependencies": {},
29 | "_engineSupported": true,
30 | "_npmVersion": "1.1.9",
31 | "_nodeVersion": "v0.6.13",
32 | "_defaultsLoaded": true,
33 | "dist": {
34 | "shasum": "7774d2ad04980789df46536714c93ee3320719d3"
35 | },
36 | "_from": "websocket-client@1.0.0"
37 | }
38 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/websocket-client/test/test-ready-state.js:
--------------------------------------------------------------------------------
1 | // Verify that readyState transitions are implemented correctly
2 |
3 | var assert = require('assert');
4 | var WebSocket = require('../lib/websocket').WebSocket;
5 | var WebSocketServer = require('websocket-server/ws/server').Server;
6 |
7 | var PORT = 1024 + Math.floor(Math.random() * 4096);
8 |
9 | var wss = new WebSocketServer();
10 | wss.listen(PORT, 'localhost');
11 | wss.on('connection', function(c) {
12 | c.close();
13 | });
14 |
15 | var ws = new WebSocket('ws://localhost:' + PORT);
16 | assert.equal(ws.readyState, ws.CONNECTING);
17 | ws.onopen = function() {
18 | assert.equal(ws.readyState, ws.OPEN);
19 |
20 | ws.close();
21 | assert.ok(ws.readyState == ws.CLOSING);
22 | };
23 | ws.onclose = function() {
24 | assert.equal(ws.readyState, ws.CLOSED);
25 | wss.close();
26 | };
27 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/README.md:
--------------------------------------------------------------------------------
1 | # node-XMLHttpRequest #
2 |
3 | node-XMLHttpRequest is arapper for the built-in http client to emulate the browser XMLHttpRequest object.
4 |
5 | This can be used with JS designed for browsers to improve reuse of code and allow the use of existing libraries.
6 |
7 | ## Usage ##
8 | Here's how to include the module in your project and use as the browser-based XHR object.
9 |
10 | var XMLHttpRequest = require("XMLHttpRequest").XMLHttpRequest;
11 | var xhr = new XMLHttpRequest();
12 |
13 | Refer to W3C specs for XHR methods.
14 |
15 | ## TODO ##
16 |
17 | * Add basic authentication
18 | * Additional unit tests
19 | * Possibly move from http to tcp for more flexibility
20 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/autotest.watchr:
--------------------------------------------------------------------------------
1 | def run_all_tests
2 | puts `clear`
3 | puts `node tests/test-constants.js`
4 | puts `node tests/test-headers.js`
5 | puts `node tests/test-request.js`
6 | end
7 | watch('.*.js') { run_all_tests }
8 | run_all_tests
9 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/demo.js:
--------------------------------------------------------------------------------
1 | var sys = require('util');
2 | var XMLHttpRequest = require("./XMLHttpRequest").XMLHttpRequest;
3 |
4 | var xhr = new XMLHttpRequest();
5 |
6 | xhr.onreadystatechange = function() {
7 | sys.puts("State: " + this.readyState);
8 |
9 | if (this.readyState == 4) {
10 | sys.puts("Complete.\nBody length: " + this.responseText.length);
11 | sys.puts("Body:\n" + this.responseText);
12 | }
13 | };
14 |
15 | xhr.open("GET", "http://driverdan.com");
16 | xhr.send();
17 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "xmlhttprequest",
3 | "description": "XMLHttpRequest for Node",
4 | "version": "1.2.2",
5 | "author": {
6 | "name": "Dan DeFelippi"
7 | },
8 | "licenses": [
9 | {
10 | "type": "MIT",
11 | "url": "http://creativecommons.org/licenses/MIT/"
12 | }
13 | ],
14 | "repository": {
15 | "type": "git",
16 | "url": "git://github.com/driverdan/node-XMLHttpRequest.git"
17 | },
18 | "engine": [
19 | "node >=0.4.0"
20 | ],
21 | "main": "./XMLHttpRequest.js",
22 | "_id": "xmlhttprequest@1.2.2",
23 | "dependencies": {},
24 | "devDependencies": {},
25 | "optionalDependencies": {},
26 | "engines": {
27 | "node": "*"
28 | },
29 | "_engineSupported": true,
30 | "_npmVersion": "1.1.9",
31 | "_nodeVersion": "v0.6.13",
32 | "_defaultsLoaded": true,
33 | "_from": "xmlhttprequest@1.2.2"
34 | }
35 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/tests/test-constants.js:
--------------------------------------------------------------------------------
1 | var sys = require("util")
2 | ,assert = require("assert")
3 | ,XMLHttpRequest = require("../XMLHttpRequest").XMLHttpRequest
4 | ,xhr = new XMLHttpRequest();
5 |
6 | // Test constant values
7 | assert.equal(0, xhr.UNSENT);
8 | assert.equal(1, xhr.OPENED);
9 | assert.equal(2, xhr.HEADERS_RECEIVED);
10 | assert.equal(3, xhr.LOADING);
11 | assert.equal(4, xhr.DONE);
12 |
13 | sys.puts("done");
14 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/tests/test-headers.js:
--------------------------------------------------------------------------------
1 | var sys = require("util")
2 | ,assert = require("assert")
3 | ,XMLHttpRequest = require("../XMLHttpRequest").XMLHttpRequest
4 | ,xhr = new XMLHttpRequest()
5 | ,http = require("http");
6 |
7 | // Test server
8 | var server = http.createServer(function (req, res) {
9 | // Test setRequestHeader
10 | assert.equal("Foobar", req.headers["x-test"]);
11 |
12 | var body = "Hello World";
13 | res.writeHead(200, {
14 | "Content-Type": "text/plain",
15 | "Content-Length": Buffer.byteLength(body)
16 | });
17 | res.write("Hello World");
18 | res.end();
19 |
20 | this.close();
21 | }).listen(8000);
22 |
23 | xhr.onreadystatechange = function() {
24 | if (this.readyState == 4) {
25 | // Test getAllResponseHeaders()
26 | var headers = "content-type: text/plain\r\ncontent-length: 11\r\nconnection: close";
27 | assert.equal(headers, this.getAllResponseHeaders());
28 |
29 | sys.puts("done");
30 | }
31 | };
32 |
33 | xhr.open("GET", "http://localhost:8000/");
34 | xhr.setRequestHeader("X-Test", "Foobar");
35 | xhr.send();
36 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/node_modules/socket.io-client/test/io.test.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * socket.io-node
4 | * Copyright(c) 2011 LearnBoost
5 | * MIT Licensed
6 | */
7 |
8 | (function (module, io, should) {
9 |
10 | module.exports = {
11 |
12 | 'client version number': function () {
13 | io.version.should().match(/([0-9]+)\.([0-9]+)\.([0-9]+)/);
14 | },
15 |
16 | 'socket.io protocol version': function () {
17 | io.protocol.should().be.a('number');
18 | io.protocol.toString().should().match(/^\d+$/);
19 | },
20 |
21 | 'socket.io available transports': function () {
22 | (io.transports.length > 0).should().be_true;
23 | }
24 |
25 | };
26 |
27 | })(
28 | 'undefined' == typeof module ? module = {} : module
29 | , 'undefined' == typeof io ? require('socket.io-client') : io
30 | , 'undefined' == typeof should ? require('should') : should
31 | );
32 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/support/node-websocket-client/Makefile:
--------------------------------------------------------------------------------
1 | # This makefile exists to help run tests.
2 | #
3 | # If TEST_UNIX is a non-empty value, runs tests for UNIX sockets. This
4 | # functionality is not in node-websocket-server at the moment.
5 |
6 | .PHONY: test
7 |
8 | all: test test-unix
9 |
10 | test:
11 | for f in `ls -1 test/test-*.js | grep -v unix` ; do \
12 | echo $$f ; \
13 | node $$f ; \
14 | done
15 |
16 | test-unix:
17 | if [[ -n "$$TEST_UNIX" ]] ; then \
18 | for f in `ls -1 test/test-*.js | grep unix` ; do \
19 | echo $$f ; \
20 | node $$f ; \
21 | done \
22 | fi
23 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/support/node-websocket-client/examples/client-unix.js:
--------------------------------------------------------------------------------
1 | var sys = require('sys');
2 | var WebSocket = require('../lib/websocket').WebSocket;
3 |
4 | var ws = new WebSocket('ws+unix://' + process.argv[2], 'boffo');
5 |
6 | ws.addListener('message', function(d) {
7 | sys.debug('Received message: ' + d.toString('utf8'));
8 | });
9 |
10 | ws.addListener('open', function() {
11 | ws.send('This is a message', 1);
12 | });
13 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/support/node-websocket-client/examples/client.js:
--------------------------------------------------------------------------------
1 | var sys = require('sys');
2 | var WebSocket = require('../lib/websocket').WebSocket;
3 |
4 | var ws = new WebSocket('ws://localhost:8000/biff', 'borf');
5 | ws.addListener('data', function(buf) {
6 | sys.debug('Got data: ' + sys.inspect(buf));
7 | });
8 | ws.onmessage = function(m) {
9 | sys.debug('Got message: ' + m);
10 | }
11 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/support/node-websocket-client/examples/server-unix.js:
--------------------------------------------------------------------------------
1 | var sys = require('sys');
2 | var ws = require('websocket-server/ws');
3 |
4 | var srv = ws.createServer({ debug : true});
5 | srv.addListener('connection', function(s) {
6 | sys.debug('Got a connection!');
7 |
8 | s._req.socket.addListener('fd', function(fd) {
9 | sys.debug('Got an fd: ' + fd);
10 | });
11 | });
12 |
13 | srv.listen(process.argv[2]);
14 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/support/node-websocket-client/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name" : "websocket-client",
3 | "version" : "1.0.0",
4 | "description" : "An HTML5 Web Sockets client",
5 | "author" : "Peter Griess ",
6 | "engines" : {
7 | "node" : ">=0.1.98"
8 | },
9 | "repositories" : [
10 | {
11 | "type" : "git",
12 | "url" : "http://github.com/pgriess/node-websocket-client.git"
13 | }
14 | ],
15 | "licenses" : [
16 | {
17 | "type" : "BSD",
18 | "url" : "http://github.com/pgriess/node-websocket-client/blob/master/LICENSE"
19 | }
20 | ],
21 | "main" : "./lib/websocket"
22 | }
23 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/node_modules/socket.io/support/node-websocket-client/test/test-ready-state.js:
--------------------------------------------------------------------------------
1 | // Verify that readyState transitions are implemented correctly
2 |
3 | var assert = require('assert');
4 | var WebSocket = require('../lib/websocket').WebSocket;
5 | var WebSocketServer = require('websocket-server/ws/server').Server;
6 |
7 | var PORT = 1024 + Math.floor(Math.random() * 4096);
8 |
9 | var wss = new WebSocketServer();
10 | wss.listen(PORT, 'localhost');
11 | wss.on('connection', function(c) {
12 | c.close();
13 | });
14 |
15 | var ws = new WebSocket('ws://localhost:' + PORT);
16 | assert.equal(ws.readyState, ws.CONNECTING);
17 | ws.onopen = function() {
18 | assert.equal(ws.readyState, ws.OPEN);
19 |
20 | ws.close();
21 | assert.ok(ws.readyState == ws.CLOSING);
22 | };
23 | ws.onclose = function() {
24 | assert.equal(ws.readyState, ws.CLOSED);
25 | wss.close();
26 | };
27 |
--------------------------------------------------------------------------------
/chat-jqm-heroku-node/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "heroku_hello_world",
3 | "version": "0.0.1",
4 | "dependencies": {
5 | "socket.io":"0.8.4",
6 | "express": "2.5.8",
7 | "formidable":"1.0.11"
8 | }
9 | }
--------------------------------------------------------------------------------
/multitouch-hammer/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/multitouch-hammer/.DS_Store
--------------------------------------------------------------------------------
/multitouch-hammer/bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/multitouch-hammer/bg.jpg
--------------------------------------------------------------------------------
/multitouch-hammer/pic1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/multitouch-hammer/pic1.jpg
--------------------------------------------------------------------------------
/multitouch-hammer/pic2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/multitouch-hammer/pic2.jpg
--------------------------------------------------------------------------------
/multitouch-hammer/pic3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/multitouch-hammer/pic3.jpg
--------------------------------------------------------------------------------
/web-workers-animation/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/web-workers-animation/.DS_Store
--------------------------------------------------------------------------------
/web-workers-animation/icons/Angrybirds-128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/web-workers-animation/icons/Angrybirds-128.png
--------------------------------------------------------------------------------
/web-workers-animation/icons/Cloud-128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/web-workers-animation/icons/Cloud-128.png
--------------------------------------------------------------------------------
/web-workers-animation/icons/Fraise-128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/web-workers-animation/icons/Fraise-128.png
--------------------------------------------------------------------------------
/web-workers-animation/icons/Github-128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/web-workers-animation/icons/Github-128.png
--------------------------------------------------------------------------------
/web-workers-animation/icons/Pidgin-128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/web-workers-animation/icons/Pidgin-128.png
--------------------------------------------------------------------------------
/web-workers-animation/icons/Sparrow-128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/web-workers-animation/icons/Sparrow-128.png
--------------------------------------------------------------------------------
/web-workers-animation/icons/Spotify-128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/web-workers-animation/icons/Spotify-128.png
--------------------------------------------------------------------------------
/web-workers-animation/icons/bk.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/web-workers-animation/icons/bk.jpg
--------------------------------------------------------------------------------
/web-workers-animation/img/ .png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/web-workers-animation/img/ .png
--------------------------------------------------------------------------------
/web-workers-animation/img/glyphicons-halflings-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/web-workers-animation/img/glyphicons-halflings-white.png
--------------------------------------------------------------------------------
/web-workers-animation/workerStupid.js:
--------------------------------------------------------------------------------
1 | // JavaScript worker
2 |
3 | self.addEventListener('message', function(event) {
4 |
5 | var sum = 0;
6 | for (var i = 0; i < 3000; i++) {
7 | for (var j = 0; j < 2000; j++) {
8 | sum++;
9 | }
10 | }
11 | self.postMessage(sum);
12 | }, false);
--------------------------------------------------------------------------------
/web-workers-animation/workersAnim.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Untitled
6 |
7 |
8 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/web-workers-animation/workersAnim_edgeActions.js:
--------------------------------------------------------------------------------
1 | /***********************
2 | * Adobe Edge Composition Actions
3 | *
4 | * Edit this file with caution, being careful to preserve
5 | * function signatures and comments starting with 'Edge' to maintain the
6 | * ability to interact with these actions from within Adobe Edge
7 | *
8 | ***********************/
9 | (function($, Edge, compId){
10 | var Composition = Edge.Composition, Symbol = Edge.Symbol; // aliases for commonly used Edge classes
11 |
12 | //Edge symbol: 'stage'
13 | (function(symbolName) {
14 |
15 |
16 | Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 5075, function(sym, e) {
17 | // insert code here
18 | // play the timeline from the given position (ms or label)
19 | sym.play(0);
20 |
21 |
22 | });
23 | //Edge binding end
24 |
25 | })("stage");
26 | //Edge symbol end:'stage'
27 |
28 | })(jQuery, AdobeEdge, "EDGE-316521125");
--------------------------------------------------------------------------------
/zepto-flickable-sample/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/.DS_Store
--------------------------------------------------------------------------------
/zepto-flickable-sample/assets/face.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/assets/face.psd
--------------------------------------------------------------------------------
/zepto-flickable-sample/menuiOS/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/menuiOS/.DS_Store
--------------------------------------------------------------------------------
/zepto-flickable-sample/menuiOS/icon1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/menuiOS/icon1.png
--------------------------------------------------------------------------------
/zepto-flickable-sample/menuiOS/icon2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/menuiOS/icon2.png
--------------------------------------------------------------------------------
/zepto-flickable-sample/menuiOS/icon3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/menuiOS/icon3.png
--------------------------------------------------------------------------------
/zepto-flickable-sample/menuiOS/icon4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/menuiOS/icon4.png
--------------------------------------------------------------------------------
/zepto-flickable-sample/menuiOS/icon5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/menuiOS/icon5.png
--------------------------------------------------------------------------------
/zepto-flickable-sample/menuiOS/icon6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/menuiOS/icon6.png
--------------------------------------------------------------------------------
/zepto-flickable-sample/menuiOS/iosBackground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/menuiOS/iosBackground.png
--------------------------------------------------------------------------------
/zepto-flickable-sample/pics/background3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/pics/background3.png
--------------------------------------------------------------------------------
/zepto-flickable-sample/pics/christophe.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/pics/christophe.jpg
--------------------------------------------------------------------------------
/zepto-flickable-sample/pics/mchaize.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/pics/mchaize.jpg
--------------------------------------------------------------------------------
/zepto-flickable-sample/pics/next.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/pics/next.png
--------------------------------------------------------------------------------
/zepto-flickable-sample/pics/piotr.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/pics/piotr.jpg
--------------------------------------------------------------------------------
/zepto-flickable-sample/pics/prev.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/pics/prev.png
--------------------------------------------------------------------------------
/zepto-flickable-sample/pics/tapFlip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/pics/tapFlip.png
--------------------------------------------------------------------------------
/zepto-flickable-sample/reload-alt.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
--------------------------------------------------------------------------------
/zepto-flickable-sample/styleBasic.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | /* CSS Document */
3 |
4 | .bodyMain{
5 | background:#333;
6 |
7 | }
8 | #help{
9 | width:464px;
10 | font-family: 'Wire One', sans-serif;
11 | font-size:35px;
12 | color:#FFF;
13 | text-align:center;
14 | margin:0;
15 | }
16 | #app-name{
17 | width:464px;
18 | font-family: 'Wire One', sans-serif;
19 | font-size:35px;
20 | color:#FF0;
21 | text-align:center;
22 | }
23 | #menuWrapper {
24 | width: 464px;
25 | height: 130px;
26 | overflow: hidden;
27 | background: #DDDDDD;
28 | background-image:url(menuiOS/iosBackground.png);
29 |
30 | padding:0;
31 | }
32 |
33 | #menu {
34 | width: 938px;
35 | height: 150px;
36 | -webkit-perspective: 1000;
37 | }
38 |
39 | .icons {
40 |
41 | color: #fff;
42 | float: left;
43 | height: 150px;
44 |
45 |
46 | position: relative;
47 | padding: 0;
48 | text-align: center;
49 | width: 464px;
50 | }
51 |
52 |
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/zepto-flickable-sample/twitterButton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/twitterButton.png
--------------------------------------------------------------------------------
/zepto-flickable-sample/wishTag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaelchaize/appliness/27a3f0b34a7b0112f2c6fdc60371f45dac4154f3/zepto-flickable-sample/wishTag.png
--------------------------------------------------------------------------------