Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't pass Hogan into callback will overwrite global Hogan

  • Loading branch information...
commit 2f73ef59a2cdd0995134ebbf1da4a7c996129107 1 parent 729fcd6
Chad Hietala authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/hedgehog.js
2  lib/hedgehog.js
View
@@ -84,7 +84,7 @@ Hedgehog.prototype = {
if (self.conf.amd){
- output = namespace + 'define(["' + self.conf.hogan_path + '"], function(Hogan){' + compiled_template + ' return templates.'+template_ns +'});';
+ output = namespace + 'define(["' + self.conf.hogan_path + '"], function(){' + compiled_template + ' return templates.'+template_ns +'});';
}
// mkdirp will create subfolders if neccesary
Please sign in to comment.
Something went wrong with that request. Please try again.