Documentation for _.template(...).source.

This commit is contained in:
Brad Dunbar
2012-03-26 13:37:06 -04:00
parent 2055d745db
commit 2c0ccf03ef
2 changed files with 14 additions and 2 deletions

View File

@@ -960,7 +960,7 @@
var template = function(data) {
return render.call(this, data, _);
};
template.source = 'function(obj, _){\n' + source + '\n}';
template.source = 'function(obj){\n' + source + '\n}';
return template;
};