1.5.1 • Published 9 years ago
minipy v1.5.1
MiniPy
Basic usage:
<script src="/path/to/minipy.min.js"></script>
var script = 'print(not False and x)';
MiniPy.run(script, {
globals: {
x: true,
print: function(arg) {
console.log(arg);
}
}
});
// logs "true"
1.5.1
9 years ago