testing...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-01-30 01:22:19 +03:00
parent 813dd1fd4b
commit cb7e8b796d

View File

@ -1282,10 +1282,11 @@ function(spec, callback){
// XXX this does not work yet... // XXX this does not work yet...
// there seems to be two problems here: // there seems to be two problems here:
// - 'update' is triggered on first draw, thus // - 'update' is triggered on first draw, thus
// triggering .off(..)... // triggering .off(..)... (CONFIRMED)
// ...this should lead to the callback(..) not // ...this should lead to the callback(..) not
// being called at all -- see next issue... // being called at all -- see next issue...
// - .off(..) for some reason does not work... // - .off(..) for some reason does not work... (CONFIRMED)
// ...are we off-ing the right source???
.one('update', function(){ .one('update', function(){
console.log('update:', __v) console.log('update:', __v)
// XXX BUG? this.off(..) will not work with non-standard events... // XXX BUG? this.off(..) will not work with non-standard events...