2016-11-20 00:19:24 +01:00
|
|
|
var cachep2p = new CacheP2P()
|
2016-11-20 01:08:21 +01:00
|
|
|
|
|
|
|
cachep2p.on('ready', function(){
|
|
|
|
console.log('This page has been cached!')
|
|
|
|
})
|
|
|
|
cachep2p.on('message', console.log)
|
|
|
|
cachep2p.on('alert', console.log)
|
|
|
|
cachep2p.on('success', console.log)
|