Affichage log cacheP2P dans la console

This commit is contained in:
Paul TREHIOU 2016-11-20 01:08:21 +01:00
parent 111712c6ee
commit 1ce643b5db

View File

@ -1 +1,8 @@
var cachep2p = new CacheP2P() var cachep2p = new CacheP2P()
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)