mirror of
https://github.com/KevinMidboe/inline-html.git
synced 2025-10-29 17:40:29 +00:00
Refactor. Update dependencies. Update tests. Make img plugin async.
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
* @param {String} path
|
||||
* @return {Boolean}
|
||||
*/
|
||||
var isTemplateExpression = function (path) {
|
||||
return /^{{.*}}$/.test(path);
|
||||
};
|
||||
const isTemplateExpression = path => /^{{.*}}$/.test(path);
|
||||
|
||||
module.exports = isTemplateExpression;
|
||||
|
||||
Reference in New Issue
Block a user