summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/code-gen.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2015-04-07 23:38:05 -0500
committerkpdecker <kpdecker@gmail.com>2015-04-07 23:38:05 -0500
commit37a664bf6438bde0ee827a68da4cbd95a21cf52e (patch)
tree517be43cfa6eb7e564f17c244bba91c0b7f0ceed /lib/handlebars/compiler/code-gen.js
parentc699d0b82f5f006bbd11d2dfcc3b7e563ff46959 (diff)
downloadhandlebars.js-37a664bf6438bde0ee827a68da4cbd95a21cf52e.zip
handlebars.js-37a664bf6438bde0ee827a68da4cbd95a21cf52e.tar.gz
handlebars.js-37a664bf6438bde0ee827a68da4cbd95a21cf52e.tar.bz2
Ignore branches tested without coverage monitoring
Diffstat (limited to 'lib/handlebars/compiler/code-gen.js')
-rw-r--r--lib/handlebars/compiler/code-gen.js3
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) {