diff options
Diffstat (limited to 'lib/handlebars/compiler/helpers.js')
-rw-r--r-- | lib/handlebars/compiler/helpers.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/handlebars/compiler/helpers.js b/lib/handlebars/compiler/helpers.js index 31daf6d..fc0120c 100644 --- a/lib/handlebars/compiler/helpers.js +++ b/lib/handlebars/compiler/helpers.js @@ -33,7 +33,6 @@ export function stripComment(comment) { } export function preparePath(data, parts, locInfo) { - /*jshint -W040 */ locInfo = this.locInfo(locInfo); let original = data ? '@' : '', @@ -64,7 +63,6 @@ export function preparePath(data, parts, locInfo) { } export function prepareMustache(path, params, hash, open, strip, locInfo) { - /*jshint -W040 */ // Must use charAt to support IE pre-10 let escapeFlag = open.charAt(3) || open.charAt(2), escaped = escapeFlag !== '{' && escapeFlag !== '&'; @@ -73,7 +71,6 @@ export function prepareMustache(path, params, hash, open, strip, locInfo) { } export function prepareRawBlock(openRawBlock, content, close, locInfo) { - /*jshint -W040 */ if (openRawBlock.path.original !== close) { let errorNode = {loc: openRawBlock.path.loc}; @@ -91,7 +88,6 @@ export function prepareRawBlock(openRawBlock, content, close, locInfo) { } export function prepareBlock(openBlock, program, inverseAndProgram, close, inverted, locInfo) { - /*jshint -W040 */ // When we are chaining inverse calls, we will not have a close path if (close && close.path && openBlock.path.original !== close.path.original) { let errorNode = {loc: openBlock.path.loc}; |