GoBoundless/spar — pull request #12 by a3gis (2012-10-15 13:01:41+00:00)
Title: add 'interpolator_regex' setting

Hi!

The default interpolator syntax is conflicting with the javascript syntax to embed a hash into an array ([{ hello: 'world'}]. By default it stays [{ ... }] but it can now be configured to be any non-conflicting syntax you wish:

default:
interpolator_regex: "\[\%(.*?)\%\]"