Minify socket.io js

potential solution for issues/569
v1.18.x
Dan Rowe 11 years ago
parent c860df7975
commit aed4e2792d

@ -85,7 +85,7 @@
var templates = require('./public/src/templates.js'), var templates = require('./public/src/templates.js'),
translator = require('./public/src/translator.js'), translator = require('./public/src/translator.js'),
webserver = require('./src/webserver.js'), webserver = require('./src/webserver.js'),
SocketIO = require('socket.io').listen(global.server, { log: false, transports: ['websocket', 'xhr-polling', 'jsonp-polling', 'flashsocket']}), SocketIO = require('socket.io').listen(global.server, { log: false, transports: ['websocket', 'xhr-polling', 'jsonp-polling', 'flashsocket'], 'browser client minification': true}),
websockets = require('./src/websockets.js'), websockets = require('./src/websockets.js'),
posts = require('./src/posts.js'), posts = require('./src/posts.js'),
plugins = require('./src/plugins'), // Don't remove this - plugins initializes itself plugins = require('./src/plugins'), // Don't remove this - plugins initializes itself

Loading…
Cancel
Save