Skip to content

Commit

Permalink
Pass name to compiler creation
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyPesse committed Feb 10, 2015
1 parent 52412a1 commit 9c6b2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ var Compiler = Object.extend({

module.exports = {
compile: function(src, asyncFilters, extensions, name, opts) {
var c = new Compiler();
var c = new Compiler(name);

// Run the extension preprocessors against the source.
if(extensions && extensions.length) {
Expand Down

0 comments on commit 9c6b2bb

Please sign in to comment.