#!/usr/bin/env node

var jet = require('../lib/jet');

var peer = new jet.Peer();

peer.fetch()
	.all()
	.run(function (path, event, value) {
		console.log(path, event, value);
	});
@@ -80,18 +80,33 @@
 );%0A%0A
-peer.f
+var all = new jet.F
 etch
+er
 ()%0A%09
@@ -118,12 +118,19 @@
 )%0A%09.
-run(
+on('data', 
 func
@@ -196,8 +196,26 @@
 e);%0A%09%7D);
+%0A%0Apeer.fetch(all);

use new api