Nic ciekawego.
authorŁukasz Rekucki <lrekucki@gmail.com>
Thu, 8 Oct 2009 12:48:17 +0000 (14:48 +0200)
committerŁukasz Rekucki <lrekucki@gmail.com>
Thu, 8 Oct 2009 12:48:17 +0000 (14:48 +0200)
fabfile.py
project/static/js/models.js

index 1cf2679..404ec52 100644 (file)
@@ -1,3 +1,5 @@
+from __future__ import with_statement
+
 from fabric.api import run, env, cd
 
 def staging():
 from fabric.api import run, env, cd
 
 def staging():
index e2ee8b1..9a42bca 100644 (file)
@@ -224,7 +224,7 @@ Editor.HTMLModel = Editor.Model.extend({
 
         $.ajax({
             url: this.dataURL,
 
         $.ajax({
             url: this.dataURL,
-            dataType: 'text; charset=utf-8',
+            dataType: 'text',
             data: {
                 revision: this.get('revision'),
                 part: path
             data: {
                 revision: this.get('revision'),
                 part: path