Closed ilanasegall closed 11 years ago
Problem with lifetime - while mtp.data().then( function(data) { console.log(JSON.stringify(data,null,2)); } )
functions,
mtp.lifetime(3000).then(function(mtp){ console.log("entered fn"); //works! mtp.data().then( function(data) { console.log(JSON.stringify(data,null,2)); //does not work } ); })
Problem with lifetime - while mtp.data().then( function(data) { console.log(JSON.stringify(data,null,2)); } )
functions,
mtp.lifetime(3000).then(function(mtp){ console.log("entered fn"); //works! mtp.data().then( function(data) { console.log(JSON.stringify(data,null,2)); //does not work } ); })