comparison js/core.js @ 2975:d8a715a63e6f

#262 SessionKey refactoring typo
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Fri, 12 Jan 2018 13:26:50 +0000
parents c2003d6716f8
children f2f0402a1e23
comparison
equal deleted inserted replaced
2974:c2003d6716f8 2975:d8a715a63e6f
3785 "value": function () { 3785 "value": function () {
3786 if (this.key == null || requestChains === undefined) { 3786 if (this.key == null || requestChains === undefined) {
3787 throw ("Cannot save as key == null"); 3787 throw ("Cannot save as key == null");
3788 } 3788 }
3789 this.parent.finish(); 3789 this.parent.finish();
3790 requestChains.then(postUpdate()).then(function () { 3790 return requestChains.then(postUpdate()).then(function () {
3791 console.log("OK"); 3791 console.log("OK");
3792 }, function () { 3792 }, function () {
3793 createProjectSave("local"); 3793 createProjectSave("local");
3794 }) 3794 })
3795 } 3795 }