Fix code styling in _.template doc example. [ci skip]

This commit is contained in:
jdalton
2015-02-22 17:40:29 -08:00
parent 35b161450a
commit d6336c4302

View File

@@ -10312,10 +10312,10 @@
* var compiled = _.template('hi <%= data.user %>!', { 'variable': 'data' }); * var compiled = _.template('hi <%= data.user %>!', { 'variable': 'data' });
* compiled.source; * compiled.source;
* // => function(data) { * // => function(data) {
* var __t, __p = ''; * // var __t, __p = '';
* __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!'; * // __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';
* return __p; * // return __p;
* } * // }
* *
* // using the `source` property to inline compiled templates for meaningful * // using the `source` property to inline compiled templates for meaningful
* // line numbers in error messages and a stack trace * // line numbers in error messages and a stack trace