Skip to content

Commit

Permalink
Fixing typo in exists helper
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleynolan committed May 22, 2015
1 parent 1589bc2 commit 069b80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statix/src/helpers/helper-exists.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports.register = function (Handlebars, options) {
'use strict';
Handlebars.registerHelper('exists', function(variable, options) {
if (typeof variable !== 'undefined') {
return optins.fn(this);
return options.fn(this);
} else {
return options.inverse(this);
}
Expand Down

0 comments on commit 069b80f

Please sign in to comment.