Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
fixed superfluous dev support
Browse files Browse the repository at this point in the history
  • Loading branch information
AubreyHewes committed Dec 11, 2018
1 parent b5d4a71 commit 01dbafe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/inc/HandlebarsAST.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ module.exports.getV4Paths = node => {
}

if (node.path && node.path.original === "filter") {
var d = true;
// look for used properties in equation
[node.params[1], node.params[node.params.length === 4 ? 3 : 2]].forEach(
possiblePropertyNode => {
Expand Down Expand Up @@ -249,6 +248,7 @@ module.exports.getTemplatePaths = node => {
}

if (debug) {
// eslint-disable-next-line no-console
console.log(uniq(paths));
}
return uniq(paths);
Expand Down
4 changes: 0 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,4 @@ module.exports = function exports(config) {
this.setSerializers = serializers => {
Object.assign(entitySerializers, serializers);
};

this.setDebug = function setDebug(enable) {
debug = enable;
};
};

0 comments on commit 01dbafe

Please sign in to comment.