mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Move _.template comment on .source. [ci skip]
This commit is contained in:
@@ -8175,11 +8175,11 @@
|
||||
'return __p\n}';
|
||||
|
||||
var result = attempt(function() {
|
||||
// provide the compiled function's source by its `toString` method or
|
||||
// the `source` property as a convenience for inlining compiled templates
|
||||
return Function(importsKeys, 'return ' + source + sourceURL).apply(undefined, importsValues);
|
||||
});
|
||||
|
||||
// provide the compiled function's source by its `toString` method or
|
||||
// the `source` property as a convenience for inlining compiled templates
|
||||
result.source = source;
|
||||
if (result instanceof Error) {
|
||||
throw result;
|
||||
|
||||
Reference in New Issue
Block a user