summaryrefslogtreecommitdiffstats
path: root/lib/index.js
diff options
context:
space:
mode:
authorAlex Navasardyan <alex.navasardyan@yahoo.com>2013-10-04 14:28:05 -0400
committerAlex Navasardyan <alex.navasardyan@yahoo.com>2013-10-04 14:28:05 -0400
commit19f1a1f81d5e9cd6e95b72d322ce4f324e13eeec (patch)
tree25d7829663d2b7ddb17d0e9eb41d4b33710495d2 /lib/index.js
parent386c20cc63054427656d7d5231702641801b6345 (diff)
downloadhandlebars.js-19f1a1f81d5e9cd6e95b72d322ce4f324e13eeec.zip
handlebars.js-19f1a1f81d5e9cd6e95b72d322ce4f324e13eeec.tar.gz
handlebars.js-19f1a1f81d5e9cd6e95b72d322ce4f324e13eeec.tar.bz2
fixing jshint errors
Diffstat (limited to 'lib/index.js')
-rw-r--r--lib/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/index.js b/lib/index.js
index 3a071b8..639435c 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -3,16 +3,16 @@
// var local = handlebars.create();
-var Handlebars = require('../dist/cjs/handlebars').default;
+var handlebars = require('../dist/cjs/handlebars').default;
-module.exports = Handlebars;
+module.exports = handlebars;
// Publish a Node.js require() handler for .handlebars and .hbs files
if (typeof require !== 'undefined' && require.extensions) {
var extension = function(module, filename) {
var fs = require("fs");
var templateString = fs.readFileSync(filename, "utf8");
- module.exports = Handlebars.compile(templateString);
+ module.exports = handlebars.compile(templateString);
};
require.extensions[".handlebars"] = extension;
require.extensions[".hbs"] = extension;