mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 00:18:56 +02:00
RAWRRRR next level done
This commit is contained in:
parent
108ab07f93
commit
e4cf2f6faa
6 changed files with 159 additions and 78 deletions
|
@ -19,7 +19,7 @@ var getLocale = exports.getLocale = function() {
|
|||
// things like "{branchName} does not exist".
|
||||
var templateSettings = _.clone(_.templateSettings);
|
||||
templateSettings.interpolate = /\{(.+?)\}/g;
|
||||
var template = function(str, params) {
|
||||
var template = exports.template = function(str, params) {
|
||||
return _.template(str, params, templateSettings);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue