Permalink
Browse files

Don't pass Hogan into callback will overwrite global Hogan

  • Loading branch information...
1 parent 729fcd6 commit 2f73ef59a2cdd0995134ebbf1da4a7c996129107 @chadhietala committed Feb 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 2f73ef5

Please sign in to comment.