mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Remove legacy options param signature from _.template.
This commit is contained in:
@@ -19208,15 +19208,6 @@
|
||||
}
|
||||
});
|
||||
|
||||
QUnit.test('should support the legacy `options` argument signature', function(assert) {
|
||||
assert.expect(1);
|
||||
|
||||
var compiled = _.template('<%= data.a %>', null, { 'variable': 'data' }),
|
||||
data = { 'a': 1 };
|
||||
|
||||
assert.strictEqual(compiled(data), '1');
|
||||
});
|
||||
|
||||
QUnit.test('should support custom delimiters', function(assert) {
|
||||
assert.expect(2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user