I'm getting "Uncaught SlabError: Can't compile slab template. Unexpected identifier in the browser with the following code.
var str = '{slab test} \
{keep} \
{slab something} \
<script>var obj = {\'stuff\':\'things\'};</script> \
{endslab} \
{endkeep} \
{endslab}';
var template = Slab.compile(str);
console.log(template.test({}));
I'm getting "Uncaught SlabError: Can't compile slab template. Unexpected identifier in the browser with the following code.