mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(util) render: speed up in 10 times
This commit is contained in:
parent
2792d57c28
commit
42ab825f46
1 changed files with 1 additions and 1 deletions
|
|
@ -264,7 +264,7 @@
|
|||
.keys(view)
|
||||
.forEach(function(param) {
|
||||
str = view[param];
|
||||
regExp = RegExp('{{\\s*' + param + '\\s*}}', 'g');
|
||||
regExp = RegExp('{{\\s' + param + '\\s}}', 'g');
|
||||
result = result.replace(regExp, str);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue