Skip to content

Commit

Permalink
Fixes to accomodate angular 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
shuhaowu committed Jul 5, 2014
1 parent 3670b7a commit a1813e2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions production-requirements.txt
Expand Up @@ -2,9 +2,9 @@ Cython==0.19.1
Flask==0.10.1
Flask-Login==0.2.10
Flask-SeaSurf==0.1.22
Jinja2==2.7.2
Jinja2==2.7.3
MarkupSafe==0.21
Werkzeug==0.9.5
Werkzeug==0.9.6
itsdangerous==0.24
cssmin==0.1.4
gevent==1.0.1
Expand Down
4 changes: 2 additions & 2 deletions projecto/apiv1/files/static/js/service.js
Expand Up @@ -36,7 +36,7 @@
method: "POST",
url: apiUrl(project.key),
params: {path: path},
headers: {"Content-Type": false},
headers: {"Content-Type": undefined},
data: fd,
transformRequest: function(data) { return data; }
});
Expand All @@ -63,7 +63,7 @@
method: "PUT",
url: apiUrl(project.key),
params: {path: path},
headers: {"Content-Type": false},
headers: {"Content-Type": undefined},
data: fd,
transformRequest: function(data) { return data; }
});
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
@@ -1,9 +1,9 @@
Flask==0.10.1
Flask-Login==0.2.10
Flask-SeaSurf==0.1.22
Jinja2==2.7.2
Jinja2==2.7.3
MarkupSafe==0.21
Werkzeug==0.9.5
Werkzeug==0.9.6
cssmin==0.1.4
itsdangerous==0.24
-e git+https://github.com/shuhaowu/kvkit.git@4ff5dc98af58e0aaa47d515a4d043f4fc5af629d#egg=kvkit-dev
Expand Down
4 changes: 2 additions & 2 deletions static/js/develop/app.js
Expand Up @@ -44,9 +44,9 @@


$routeProvider.when("/projects/:id/files/", filesTreePage);
$routeProvider.when("/projects/:id/files/*path", filesTreePage);
$routeProvider.when("/projects/:id/files/:path*", filesTreePage);

$routeProvider.when("/projects/:id/view_file/*path", {
$routeProvider.when("/projects/:id/view_file/:path*", {
templateUrl: "/static/files/partials/viewfile.html",
controller: "FileViewController"
});
Expand Down

0 comments on commit a1813e2

Please sign in to comment.