Fix app.DB#version returning boolean instead version

pull/165/head
Thibaut 10 years ago
parent ccf9171ccc
commit 4f781d7e82

@ -98,7 +98,7 @@ class app.DB
store = txn.objectStore('docs')
req = store.get(doc.slug)
req.onsuccess = -> fn(!!req.result)
req.onsuccess = -> fn(req.result)
req.onerror = -> fn(false)
return
return

Loading…
Cancel
Save