Skip to content

Commit

Permalink
fix syntax style
Browse files Browse the repository at this point in the history
  • Loading branch information
rhengles authored and ulion committed Apr 27, 2015
1 parent 82e4720 commit 3ea67a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/precompile-cjs-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ function precompileCjsModule(name, template, opts) {
return out;
}

module.exports = precompileCjsModule;
module.exports = precompileCjsModule;
4 changes: 2 additions & 2 deletions src/precompile-global.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function precompileGlobal(name, template, opts) {
opts = opts || {};

name = JSON.stringify(name);
name = JSON.stringify(name);

var out = '(function() {' +
'(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})' +
Expand All @@ -15,4 +15,4 @@ function precompileGlobal(name, template, opts) {
return out;
}

module.exports = precompileGlobal;
module.exports = precompileGlobal;

0 comments on commit 3ea67a0

Please sign in to comment.