How to use the ejs.version function in ejs

To help you get started, we’ve selected a few ejs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hakobera / node-freenect / example / simpleviewer / server.js View on Github external
data: d
		};
	},

	getVideo: function(cmd) {
		var buffer = kinect.getVideo();
		return {
			data: buffer
		};
	}

};

app.listen(port);
console.log('Express server listening on port %d, environment: %s', port, app.settings.env);
console.log('Using connect %s, Express %s, EJS %s', connect.version, express.version, ejs.version);

socket = io.listen(app);

/*
app.configure('production',function(){
  socket.set('transports', [
    'websocket'
    //,flashsocket'
    //,'htmlfile'
    //,'xhr-polling'
    //,'jsonp-polling'
  ]);
});
*/

socket.on('connection', function(client) {