mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 03:47:50 +00:00
Update _.template sourceURLs to display better in Firefox.
This commit is contained in:
@@ -9707,7 +9707,7 @@
|
|||||||
var sourceURL = '//# sourceURL=' +
|
var sourceURL = '//# sourceURL=' +
|
||||||
('sourceURL' in options
|
('sourceURL' in options
|
||||||
? options.sourceURL
|
? options.sourceURL
|
||||||
: ('/lodash/template/source[' + (++templateCounter) + ']')
|
: ('lodash.templateSources[' + (++templateCounter) + ']')
|
||||||
) + '\n';
|
) + '\n';
|
||||||
|
|
||||||
string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
|
string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
|
||||||
|
|||||||
Reference in New Issue
Block a user