Closed inluxc closed 9 years ago
When there is no existing database, last version is NAN.
Sorry i close by mistake, I have a DB and a version associated.
Could you make runnable script in jsfiddle?
Please also run unit test http://dev.yathit.com/test/test_events.html It test getOldVersion()
getLastVersion returns NAN console.log(event.getOldVersion());