Lines Matching refs:ok
40 assert.ok(result.length === +result.length);
49 assert.ok(myView.$el instanceof Backbone.$);
121 assert.ok(true);
124 assert.ok(true);
192 myView.delegate('click', function() { assert.ok(false); });
193 myView.delegate('click', 'h1', function() { assert.ok(false); });
206 var listener = function() { assert.ok(false); };
208 myView.delegate('click', function() { assert.ok(true); });
216 myView.delegate('click', function() { assert.ok(true); });
217 myView.delegate('click', 'h1', function() { assert.ok(false); });
226 myView.delegate('click', function() { assert.ok(true); });
227 var handler = function() { assert.ok(false); };
251 assert.ok(new View().$el.is('p'));
278 assert.ok(!new View().el);
370 fake$event: function() { assert.ok(true); }
386 assert.ok(myView.$el === $el);
389 assert.ok(myView.$el === $el);
400 assert.ok(myView.el === e.target);
422 assert.ok(!view2.el.id);
429 this.listenTo(this.model, 'all x', function() { assert.ok(false); });
430 this.listenTo(this.collection, 'all x', function() { assert.ok(false); });
453 assert.ok(myView.$el.is('p'));
454 assert.ok(myView.$el.has('a'));
483 myView.delegate('click', function() { assert.ok(false); });
484 myView.listenTo(myView, 'all x', function() { assert.ok(false); });
498 click: function() { assert.ok(false); }
502 click: function() { assert.ok(true); }