mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Move _.template comment on .source. [ci skip]
This commit is contained in:
@@ -8175,11 +8175,11 @@
|
|||||||
'return __p\n}';
|
'return __p\n}';
|
||||||
|
|
||||||
var result = attempt(function() {
|
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);
|
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;
|
result.source = source;
|
||||||
if (result instanceof Error) {
|
if (result instanceof Error) {
|
||||||
throw result;
|
throw result;
|
||||||
|
|||||||
Reference in New Issue
Block a user