File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/engine-underscore/lib Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,10 @@ const engine_underscore = {
97
97
expandPartials : false ,
98
98
99
99
// regexes, stored here so they're only compiled once
100
- findPartialsRE : / < % = \s * _ \. r e n d e r N a m e d P a r t i a l [ \t ] * \( \s * ( " (?: [ ^ " ] .* ?) " | ' (?: [ ^ ' ] .* ?) ' ) .* ?% > / g, // TODO
101
- findListItemsRE : / ( { { # ( ) ? ) ( l i s t ( I | i ) t e m s .) ( o n e | t w o | t h r e e | f o u r | f i v e | s i x | s e v e n | e i g h t | n i n e | t e n | e l e v e n | t w e l v e | t h i r t e e n | f o u r t e e n | f i f t e e n | s i x t e e n | s e v e n t e e n | e i g h t e e n | n i n e t e e n | t w e n t y ) ( ) ? } } / g,
100
+ findPartialsRE :
101
+ / < % = \s * _ \. r e n d e r N a m e d P a r t i a l [ \t ] * \( \s * ( " (?: [ ^ " ] .* ?) " | ' (?: [ ^ ' ] .* ?) ' ) .* ?% > / g, // TODO
102
+ findListItemsRE :
103
+ / ( { { # ( ) ? ) ( l i s t ( I | i ) t e m s .) ( o n e | t w o | t h r e e | f o u r | f i v e | s i x | s e v e n | e i g h t | n i n e | t e n | e l e v e n | t w e l v e | t h i r t e e n | f o u r t e e n | f i f t e e n | s i x t e e n | s e v e n t e e n | e i g h t e e n | n i n e t e e n | t w e n t y ) ( ) ? } } / g,
102
104
103
105
// render it
104
106
renderPattern : function renderPattern ( pattern , data , partials ) {
You can’t perform that action at this time.
0 commit comments