Be more formal about the file read step on restore, just in case

This commit is contained in:
Thomas Wilburn 2014-04-11 09:08:41 -07:00
parent ec6f20c72c
commit d00d35f611

View file

@ -187,7 +187,9 @@ define([
var file = new File();
file
.restore(id)
.then(file.read.bind(file))
.then(function() {
return file.read();
})
.then(function(data) {
c({
value: data,