Skip to content

Commit

Permalink
Rebuild dist
Browse files Browse the repository at this point in the history
  • Loading branch information
kpdecker committed Mar 14, 2013
1 parent 2197763 commit bcc15ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/handlebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Handlebars.registerHelper('unless', function(context, options) {
});

Handlebars.registerHelper('with', function(context, options) {
return options.fn(context);
if (!Handlebars.Utils.isEmpty(context)) return options.fn(context);
});

Handlebars.registerHelper('log', function(context, options) {
Expand Down
2 changes: 1 addition & 1 deletion dist/handlebars.runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Handlebars.registerHelper('unless', function(context, options) {
});

Handlebars.registerHelper('with', function(context, options) {
return options.fn(context);
if (!Handlebars.Utils.isEmpty(context)) return options.fn(context);
});

Handlebars.registerHelper('log', function(context, options) {
Expand Down

0 comments on commit bcc15ea

Please sign in to comment.