UNPKG

230 BJavaScriptView Raw
1// This module uses 'with', so it can't be strict
2
3module.exports = function (__str, __context, __path) {
4 try {
5 with(__context) {
6 return eval(__str)
7 }
8 } catch (e) {
9 e.message += ' in ' + __path
10 throw e
11 }
12}
\No newline at end of file