mirror of
https://github.com/panosoft/inline-html
synced 2026-01-13 13:04:30 -08: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