Download:
child 39:dd75bec0598f
parent 37:4b334b7df640
38:5d6f82b74afa
Anton Shestakov <engored@ya.ru>, Wed, 01 May 2013 23:45:03 +0900
jQuery 2.0.0

2 файлов изменено, 3 вставок(+), 3 удалений(-) [+]
static/js/ui.js file | annotate | diff | comparison | revisions
templates/index.html file | annotate | diff | comparison | revisions
--- a/static/js/ui.js Wed May 01 23:17:37 2013 +0900
+++ b/static/js/ui.js Wed May 01 23:45:03 2013 +0900
@@ -44,8 +44,8 @@
collection: fruitbar.projects,
tasks: fruitbar.tasks,
templates: {
- project: $('#project-template').html(),
- task: $('#task-template').html()
+ project: $.trim($('#project-template').html()),
+ task: $.trim($('#task-template').html())
},
controls: {
create: $('.btn-new-project')
--- a/templates/index.html Wed May 01 23:17:37 2013 +0900
+++ b/templates/index.html Wed May 01 23:45:03 2013 +0900
@@ -7,7 +7,7 @@
<link type="text/css" href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap-combined.min.css" rel="stylesheet">
<link type="text/css" href="{{ url_for('static', filename='css/custom.css') }}" rel="stylesheet">
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/backbone.js/1.0.0/backbone-min.js"></script>
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/js/bootstrap.min.js"></script>