Commits

Anton Shestakov committed 5d6f82b

jQuery 2.0.0

Comments (0)

Files changed (2)

         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')

templates/index.html

     <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>