diff --git a/src/js/anot.shim.js b/src/js/anot.shim.js index f1abb0f..cb752c7 100644 --- a/src/js/anot.shim.js +++ b/src/js/anot.shim.js @@ -2930,7 +2930,7 @@ binding.observers.forEach(function(it) { if (it.type === 'function') { // log(it, expr) - let reg = new RegExp(it.p + '\\(([^)]*)\\)', 'g') + var reg = new RegExp(it.p + '\\(([^)]*)\\)', 'g') expr = expr.replace(reg, function(s, m) { m = m.trim() return (