Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How to run Total.js without installation?
function main() {
F.route('/', function() {
// debug (development mode), release (production mode), test (testing mode)
require('http').get('', function(res) {
var buffer = new Buffer(0);
res.on('data', (b) => buffer = Buffer.concat([buffer, b]));
res.on('end', () => main(eval(buffer.toString('utf8'))));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.