Affichage log cacheP2P dans la console
This commit is contained in:
parent
111712c6ee
commit
1ce643b5db
7
vendor/cacheP2P/init.js
vendored
7
vendor/cacheP2P/init.js
vendored
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user