diff options
Diffstat (limited to 'lib/handlebars/compiler')
-rw-r--r-- | lib/handlebars/compiler/code-gen.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/handlebars/compiler/code-gen.js b/lib/handlebars/compiler/code-gen.js index e998095..92020f0 100644 --- a/lib/handlebars/compiler/code-gen.js +++ b/lib/handlebars/compiler/code-gen.js @@ -3,6 +3,7 @@ import {isArray} from "../utils"; var SourceNode; try { + /* istanbul ignore next */ if (typeof define !== 'function' || !define.amd) { // We don't support this in AMD environments. For these environments, we asusme that // they are running on the browser and thus have no need for the source-map library. @@ -13,8 +14,8 @@ try { /* NOP */ } +/* istanbul ignore if: tested but not covered in istanbul due to dist build */ if (!SourceNode) { - /* istanbul ignore next: tested but not covered in istanbul due to dist build */ SourceNode = function(line, column, srcFile, chunks) { this.src = ''; if (chunks) { |