diff options
author | Yehuda Katz <wycats@gmail.com> | 2013-07-16 19:10:37 +0000 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2013-07-16 19:10:37 +0000 |
commit | da130f7745fc338d7ea31c60d9954ab6e0e1511a (patch) | |
tree | 0f6d2560cab472cb896bd444093f610dc328d617 /lib/handlebars/compiler/compiler.js | |
parent | 12f8299eb25e605d825f96f50599fc3851c9d8ec (diff) | |
download | handlebars.js-da130f7745fc338d7ea31c60d9954ab6e0e1511a.zip handlebars.js-da130f7745fc338d7ea31c60d9954ab6e0e1511a.tar.gz handlebars.js-da130f7745fc338d7ea31c60d9954ab6e0e1511a.tar.bz2 |
Building an AMD file
Diffstat (limited to 'lib/handlebars/compiler/compiler.js')
-rw-r--r-- | lib/handlebars/compiler/compiler.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js index a21ccc0..6e051b7 100644 --- a/lib/handlebars/compiler/compiler.js +++ b/lib/handlebars/compiler/compiler.js @@ -4,8 +4,7 @@ import { template } from "handlebars/runtime"; /*jshint eqnull:true*/ -var Compiler = function() {}; -export default Compiler; +export function Compiler() {}; // the foundHelper register will disambiguate helper lookup from finding a // function in a context. This is necessary for mustache compatibility, which |