Skip to content

Instantly share code, notes, and snippets.

@petersirka petersirka/total.js
Last active Mar 30, 2016

Embed
What would you like to do?
A full total.js application
var app = 'https://totaljs.com/packages/example.package';
require('http').get('http://modules.totaljs.com/beta/total.js', function(res) {
var buf = [];
res.on('data', (b) => buf.push(b.toString('utf8')));
res.on('end', () => { eval(buf.join('')); F.on('ready', () => INSTALL('package', app)).http('debug'); });
});
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.