[Pkg-javascript-commits] [backbone] 120/281: Fixes #734

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 17:02:03 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 0.9.0
in repository backbone.

commit 1626fa7447818f66a142f46ccade1158d1ff6324
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Tue Dec 6 16:21:20 2011 -0500

    Fixes #734
---
 examples/todos/todos.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/todos/todos.js b/examples/todos/todos.js
index 338ac28..5b58fae 100644
--- a/examples/todos/todos.js
+++ b/examples/todos/todos.js
@@ -190,7 +190,7 @@ $(function(){
     // appending its element to the `<ul>`.
     addOne: function(todo) {
       var view = new TodoView({model: todo});
-      this.$("#todo-list").append(view.render().el);
+      $("#todo-list").append(view.render().el);
     },
 
     // Add all items in the **Todos** collection at once.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git



More information about the Pkg-javascript-commits mailing list