Explicitly set encoding

Closes #24
pull/25/head
John Crepezzi 2012-02-07 17:52:31 -05:00
parent ca9d4c18f7
commit 87e28548b9
2 changed files with 2 additions and 1 deletions

View File

@ -62,6 +62,7 @@ haste_document.prototype.save = function(data, callback) {
type: 'post',
data: data,
dataType: 'json',
contentType: 'application/json; charset=utf-8',
success: function(res) {
_this.locked = true;
_this.key = res.key;

File diff suppressed because one or more lines are too long