Lines Matching refs:options

4256     QUnit.test('should apply default options', function(assert) {
15881 QUnit.test('should accept an `options`', function(assert) {
15889 lodashStable.each([{ 'chain': false }, { 'chain': true }], function(options) {
15892 _.mixin(source, options);
15894 _.mixin(func, source, options);
15899 if (options.chain) {
15915 QUnit.test('should not extend lodash when an `object` is given with an empty `options` object', function(assert) {
15923 QUnit.test('should not error for non-object `options` values', function(assert) {
22236 QUnit.test('should support the "variable" options', function(assert) {
22523 QUnit.test('should not modify the `options` object', function(assert) {
22526 var options = {};
22527 _.template('', options);
22528 assert.deepEqual(options, {});
22531 QUnit.test('should not modify `_.templateSettings` when `options` are given', function(assert) {
22543 QUnit.test('should not error for non-object `data` and `options` values', function(assert) {
22550 assert.ok(true, '`options` value');
22581 var options = { 'sourceURL': '/a/b/c' },
22582 compiled = _.template('x', options),
22586 _.template('<% if x %>', options);
22806 options = index ? { 'leading': false } : {},
22807 throttled = _.throttle(function() { callCount++; }, 32, options);
22849 QUnit.test('should apply default options', function(assert) {
22979 QUnit.test('`_.' + methodName + '` should not error for non-object `options` values', function(assert) {
24407 options = { 'length': 4, 'separator': separator },
24408 actual = _.truncate(string, options);
24413 actual = _.truncate(allHearts, options);