fa71dc4c by Michael Richards

Define a default template delimiter (mustache-style template delimiters). [#181]

1 parent 386f1c8d
...@@ -598,6 +598,7 @@ Rivets.internalBinders = ...@@ -598,6 +598,7 @@ Rivets.internalBinders =
598 # overridden globally or local to a `Rivets.View` instance. 598 # overridden globally or local to a `Rivets.View` instance.
599 Rivets.config = 599 Rivets.config =
600 preloadData: true 600 preloadData: true
601 templateDelimiters: ['{{', '}}']
601 handler: (context, ev, binding) -> 602 handler: (context, ev, binding) ->
602 @call context, ev, binding.view.models 603 @call context, ev, binding.view.models
603 604
......