Affichage log cacheP2P dans la console
This commit is contained in:
parent
111712c6ee
commit
1ce643b5db
1 changed files with 7 additions and 0 deletions
7
vendor/cacheP2P/init.js
vendored
7
vendor/cacheP2P/init.js
vendored
|
@ -1 +1,8 @@
|
|||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue