From e908e8bb340dae0e2073f21575b2ad038d128bcd Mon Sep 17 00:00:00 2001 From: hacksalot Date: Fri, 18 Dec 2015 10:13:50 -0500 Subject: [PATCH] Add missing Underscore require(). --- src/eng/handlebars-generator.js | 1 - src/eng/handlebars-helpers.js | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eng/handlebars-generator.js b/src/eng/handlebars-generator.js index 9dddc8a..20964ca 100644 --- a/src/eng/handlebars-generator.js +++ b/src/eng/handlebars-generator.js @@ -11,7 +11,6 @@ Definition of the HandlebarsGenerator class. var _ = require('underscore') , HANDLEBARS = require('handlebars') , FS = require('fs') - , _ = require('underscore') , registerHelpers = require('./handlebars-helpers'); diff --git a/src/eng/handlebars-helpers.js b/src/eng/handlebars-helpers.js index 20eea13..81ed94c 100644 --- a/src/eng/handlebars-helpers.js +++ b/src/eng/handlebars-helpers.js @@ -10,7 +10,8 @@ Template helper definitions for Handlebars. var HANDLEBARS = require('handlebars') , MD = require('marked') , H2W = require('../utils/html-to-wpml') - , moment = require('moment'); + , moment = require('moment') + , _ = require('underscore'); /** Register useful Handlebars helpers.