Formatting updates for inlined content
This commit is contained in:
@@ -740,7 +740,7 @@ Handlebars.JavaScriptCompiler = function() {};
|
|||||||
if (this.options.stringParams) {
|
if (this.options.stringParams) {
|
||||||
this.register('hashTypes', '{' + hash.types.join(',') + '}');
|
this.register('hashTypes', '{' + hash.types.join(',') + '}');
|
||||||
}
|
}
|
||||||
this.pushStack('{' + hash.values.join(',\n\t') + '\n }', true);
|
this.pushStack('{\n ' + hash.values.join(',\n ') + '\n }', true);
|
||||||
},
|
},
|
||||||
|
|
||||||
// [pushString]
|
// [pushString]
|
||||||
@@ -988,7 +988,7 @@ Handlebars.JavaScriptCompiler = function() {};
|
|||||||
// Get or create the current stack name for use by the inline
|
// Get or create the current stack name for use by the inline
|
||||||
var name = allowInline && this.stackSlot ? this.topStackName() : this.incrStack();
|
var name = allowInline && this.stackSlot ? this.topStackName() : this.incrStack();
|
||||||
|
|
||||||
prefix = '(' + this.pushStack(name, true) + ' = ' + top + '),\n\t\t';
|
prefix = '(' + this.pushStack(name, true) + ' = ' + top + '),';
|
||||||
stack = this.topStack();
|
stack = this.topStack();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user