Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove remaining jQuery from View tests #3073

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
remove superfluous this from listento
  • Loading branch information
akre54 committed Mar 23, 2014
commit 235fcc9ac8a88d17dafa642febddc83e8d6b7464
4 changes: 2 additions & 2 deletions test/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@
test("views stopListening", 0, function() {
var Test = View.extend({
initialize: function() {
this.listenTo(this.model, 'all x', function(){ ok(false); }, this);
this.listenTo(this.collection, 'all x', function(){ ok(false); }, this);
this.listenTo(this.model, 'all x', function(){ ok(false); });
this.listenTo(this.collection, 'all x', function(){ ok(false); });
}
});

Expand Down