Lines Matching refs:bind
10 var bound = _.bind(func, context);
13 bound = _(func).bind(context);
16 bound = _.bind(func, null, 'curly');
22 func = _.bind(func, this, 'hello');
25 func = _.bind(func, this, 'curly');
29 func = _.bind(func, this, 'hello', 'moe', 'curly');
33 _.bind(func, 0, 0, 'can bind a function to `0`')();
34 _.bind(func, '', '', 'can bind a function to an empty string')();
35 _.bind(func, false, false, 'can bind a function to `false`')();
40 var boundf = _.bind(F, {hello: 'moe curly'});
47 …assert.raises(function() { _.bind('notafunction'); }, TypeError, 'throws an error when binding to …