Remove legacy options param signature from _.template.

This commit is contained in:
John-David Dalton
2016-01-03 16:53:19 -06:00
parent 9ef191db33
commit f39fdc42f6
2 changed files with 5 additions and 14 deletions

View File

@@ -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);