Explicitly set encoding

Closes #24
codemirror
John Crepezzi 13 years ago
parent ca9d4c18f7
commit 87e28548b9
  1. 1
      static/application.js
  2. 2
      static/application.min.js

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

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save