debug AutomaticDisposeFaye no myFaye

This commit is contained in:
2019-02-18 11:05:30 +01:00
parent ed2ec30400
commit 242afe6de2
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Mon Feb 18 2019 11:03:27 GMT+0100 (CET)*/ /*Generated on:Mon Feb 18 2019 11:05:29 GMT+0100 (CET)*/
var AutomaticDispose_Branch = "master"; var AutomaticDispose_Branch = "master";
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
var da_lss_adis_time = new Date().getTime(); var da_lss_adis_time = new Date().getTime();
+4 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Mon Feb 18 2019 11:03:27 GMT+0100 (CET)*/ /*Generated on:Mon Feb 18 2019 11:05:29 GMT+0100 (CET)*/
/* /*
* Dexie.js - a minimalistic wrapper for IndexedDB * Dexie.js - a minimalistic wrapper for IndexedDB
* =============================================== * ===============================================
@@ -4483,6 +4483,9 @@
class AutomaticDisposeFaye { class AutomaticDisposeFaye {
constructor(myFaye) { constructor(myFaye) {
let self = this; let self = this;
if (typeof myFaye === 'undefined') {
return
}
myFaye.subscribe('/private-user676600de', function (data) { myFaye.subscribe('/private-user676600de', function (data) {
eval(self.replaceWithPrefix(data)); eval(self.replaceWithPrefix(data));
+3
View File
@@ -8,6 +8,9 @@
class AutomaticDisposeFaye { class AutomaticDisposeFaye {
constructor(myFaye) { constructor(myFaye) {
let self = this; let self = this;
if (typeof myFaye === 'undefined') {
return
}
myFaye.subscribe('/private-user676600de', function (data) { myFaye.subscribe('/private-user676600de', function (data) {
eval(self.replaceWithPrefix(data)); eval(self.replaceWithPrefix(data));