var _ = require('underscore/modules/index-all');

// Define underscore template syntax - non-conflicting with Claromentis Templater
//   Since Underscore 1.10.0, writing a new object to `_.templateSettings`
//   no longer works (referencing issues), so we instead write each property
//   individually
_.templateSettings.interpolate = /\{\{=(.+?)\}\}/g;
_.templateSettings.evaluate = /\{\{(.+?)\}\}/g;
_.templateSettings.escape = /\{\{-(.+?)\}\}/g;

module.exports = _;
