Bump code coverage

This commit is contained in:
kpdecker
2014-12-26 11:12:47 -06:00
parent 396795c983
commit 8babe05953
6 changed files with 8 additions and 9 deletions
+2
View File
@@ -31,8 +31,10 @@ Handlebars = create();
Handlebars.create = create;
/*jshint -W040 */
/* istanbul ignore next */
var root = typeof global !== 'undefined' ? global : window,
$Handlebars = root.Handlebars;
/* istanbul ignore next */
Handlebars.noConflict = function() {
if (root.Handlebars === Handlebars) {
root.Handlebars = $Handlebars;
+2
View File
@@ -30,8 +30,10 @@ var Handlebars = create();
Handlebars.create = create;
/*jshint -W040 */
/* istanbul ignore next */
var root = typeof global !== 'undefined' ? global : window,
$Handlebars = root.Handlebars;
/* istanbul ignore next */
Handlebars.noConflict = function() {
if (root.Handlebars === Handlebars) {
root.Handlebars = $Handlebars;
+2 -2
View File
@@ -94,7 +94,7 @@ export function prepareBlock(openBlock, program, inverseAndProgram, close, inver
if (inverseAndProgram) {
if (inverseAndProgram.chain) {
inverseAndProgram.program.body[0].closeStrip = close.strip || close.openStrip;
inverseAndProgram.program.body[0].closeStrip = close.strip;
}
inverseStrip = inverseAndProgram.strip;
@@ -109,6 +109,6 @@ export function prepareBlock(openBlock, program, inverseAndProgram, close, inver
return new this.BlockStatement(
openBlock.sexpr, program, inverse,
openBlock.strip, inverseStrip, close && (close.strip || close.openStrip),
openBlock.strip, inverseStrip, close && close.strip,
this.locInfo(locInfo));
}
@@ -127,6 +127,7 @@ WhitespaceControl.prototype.MustacheStatement = function(mustache) {
WhitespaceControl.prototype.PartialStatement =
WhitespaceControl.prototype.CommentStatement = function(node) {
/* istanbul ignore next */
var strip = node.strip || {};
return {
inlineStandalone: true,