From 39b96f597c1df27227a7f057383e4c74ec354181 Mon Sep 17 00:00:00 2001 From: Brian Zengel Date: Sun, 20 Oct 2013 19:44:14 -0400 Subject: [PATCH] added _.template definition --- lodash/lodash-tests.ts | 30 +++++++++-------- lodash/lodash.d.ts | 73 ++++++++++++++++++++++++++++++------------ 2 files changed, 68 insertions(+), 35 deletions(-) diff --git a/lodash/lodash-tests.ts b/lodash/lodash-tests.ts index 612b9802d..cf7938724 100644 --- a/lodash/lodash-tests.ts +++ b/lodash/lodash-tests.ts @@ -745,6 +745,21 @@ result = _.result(object, 'stuff'); var tempObject = {}; result = _.runInContext(tempObject); +result = <_.TemplateExecutor>_.template('hello <%= name %>'); +result = _.template('<%- value %>', { 'value': '