Make code prettier 💅
This commit is contained in:
parent
c78dcde973
commit
20899654aa
|
@ -22,7 +22,7 @@ Draft.reopenClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
save(key, sequence, data) {
|
save(key, sequence, data) {
|
||||||
data = typeof(data) === "string" ? data : JSON.stringify(data);
|
data = typeof data === "string" ? data : JSON.stringify(data);
|
||||||
return ajax("/draft.json", {
|
return ajax("/draft.json", {
|
||||||
type: "POST",
|
type: "POST",
|
||||||
data: { draft_key: key, sequence, data }
|
data: { draft_key: key, sequence, data }
|
||||||
|
|
Loading…
Reference in New Issue