Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
zebin.wu committed Jul 6, 2021
2 parents 7a80269 + 9cba131 commit 44d5bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/tpl-lodash.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function lodashCompile(str, data) {
export function register() {
return {
name: 'lodash',
test: (str) => !!~str.indexOf('<%'),
test: (str) => Boolean(str.indexOf('<%') > -1),
compile: (str, data) => lodashCompile(str, data)
};
}

0 comments on commit 44d5bd0

Please sign in to comment.